You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 27, 2023. It is now read-only.
Describe your idea
Job Queue is currently lost if Aqua turns off. While this isn't a problem for reminders that are only a few minutes after, it may be a problem for reminders scheduled to hours/days later.
Alternatively, instead of each Job having a function to be executed, they could have a type instead (e.g. send_message type), which are easier to store / load.
The text was updated successfully, but these errors were encountered:
Describe your idea
Job Queue is currently lost if Aqua turns off. While this isn't a problem for reminders that are only a few minutes after, it may be a problem for reminders scheduled to hours/days later.
Extra information
Suggestion: create a dump file once at the end of the JobQueue loop using pickle:
https://docs.python.org/3/library/pickle.html
Maybe use
inspect.getsource
: https://stackoverflow.com/questions/12072252/cant-get-source-code-for-a-method-declared-through-exec-using-inspect-in-pythAlternatively, instead of each Job having a function to be executed, they could have a type instead (e.g.
send_message
type), which are easier to store / load.The text was updated successfully, but these errors were encountered: