LOC-6 Initial (and very rough) periodic message clearance
author B Tasker
()
committer B Tasker
()
commit 74c2eb491a5bede03dd926d20afd73ffe105a3b7
tree fa01e89b2f9cbba500287d7f18794829ac756e29
parent 54ddfae96f25cde34e4ffffc297f5ab79cf61952
LOC-6 Initial (and very rough) periodic message clearance

At server startup we spin up a seperate scheduler thread, which places a request to the main app every 60 seconds, in order to purge any messages older than the threshold in the system.

It's currently very, very rough, but seems to work.

There's still a bit to be done here though

- Need to validate the submitted password
- Need to actually generate a password rather than using the temporarily hardcoded 1234

And probably quite a lot else too
server/LocalChat.py