Closed sumairasaeed closed 7 years ago
I have completed the work on this and pushed the code to server.
Thanks
When testing it was found that on sync, server is returning older statuses also which were uploaded before 24 hours. This means that statuses are not removed from server after 24 hours. I am reopening this issue. @sojharo kindly look into this.
I am cleaning the daystatus tables for testing purpose. FYI @sojharo @Assadbintahir
I have worked on this issue. Tested this by reducing the expiry time to two minutes. I found that it is working perfectly. This might have happened due to server restart in the middle. So, we set the scheduler to run after 24 hours of any specified time. These schedulers are alive as long as server is running. Once server is restarted or crashed then they are closed.
Here we need to code the logic for removing status after 24-hours of its upload.