jookies / jasmin

Jasmin - Open source SMS gateway
http://jasminsms.com
Other
1.04k stars 555 forks source link

Dictionary never cleans message_id records in dictionary #1019

Closed KamuiX closed 6 months ago

KamuiX commented 2 years ago

https://github.com/jookies/jasmin/blob/16c54261a6a1a82db64311ee2a235f6c966c14ab/misc/scripts/sms_logger.py#L45

It seems that the above dictionary is collection ALL message ids and stack them as a "cache" mechanism but never removes them from the list. After hours or days of use the the script can even go up to many GB of size in RAM.

farirat commented 2 years ago

That's true, that script is just a proof of concept of how sms logging to a data store -can- be done and it's not intended to be used as is for production.

github-actions[bot] commented 8 months ago

Stale issue detected, remove stale label or comment or this will be closed soon.

github-actions[bot] commented 6 months ago

This issue was closed because it has been stalled more than a year with no activity.