Docker image : install functools32
WARNING:flatisfy.data:
functools.lru_cache
is not available on your system. Consider installingfunctools32
Python module if using Python2 for better performances.
I don't know if this is related but each request to /api/v1/flats
takes more than 2 minutes (I tried on 2 different computers) with the following configuration :
{
"backends": null,
"constraints": {
"default": {
"area": [
50,
null
],
"bedrooms": [
2,
null
],
"cost": [
100000,
300000
],
"description_should_contain": [],
"house_types": ["APART", "HOUSE"],
"minimum_nb_photos": 2,
"postal_codes": ["35000", "35200", "35700"],
"rooms": [
3,
null
],
"time_to": {},
"type": "SALE"
}
},
"data_directory": "/flatisfy",
"database": null,
"debug": false,
"host": "0.0.0.0",
"max_entries": null,
"modules_path": null,
"navitia_api_key": null,
"passes": 3,
"port": 8080,
"search_index": null,
"send_email": false,
"smtp_from": "noreply@flatisfy.org",
"smtp_port": 25,
"smtp_server": "localhost",
"smtp_to": [],
"store_personal_data": false,
"webserver": null,
"website_url": "http://127.0.0.1:8080"
}