Checking if daily report is enabled is slow
Hi,
When starting Kresus, the logs show (on my RPiv1):
[2017-08-01 10:25:00:22] info - report-manager | Checking if user has enabled daily report...
[2017-08-01 10:25:02:27] info - report-manager | User hasn't enabled daily report.
[2017-08-01 10:25:02:28] info - report-manager | Checking if user has enabled monthly report...
[2017-08-01 10:25:02:32] info - report-manager | User hasn't enabled monthly report.
As you can see, it takes about 2 seconds to check if user has enabled daily report, but then the monthly check is almost instantaneous. Same thing can be seen on a more regular server, it takes about 5 seconds for the daily report, and < 1s for the rest.
Not sure what is hanging this daily report check.