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
Can easily be solved after solving the issue of sending notifications in a separate thread (using threading.Timer)
Both tasks are in the scope of this issue.
The text was updated successfully, but these errors were encountered:
Actually, this APScheduler thing seems a little more mature than that, with persistence options (though I'm not sure if we really need to protect against restarts for this type of notification).
It feels like an overkill while threading is built-in. The only issue that remained was to understand how Flask threading works to not break things by mistake.
That's the thing, I really don't think we should be messing with Flask's thread management (not to mention workers) when established solutions are readily available
Add proper debounce to the
new_arrivals
notification https://github.com/illright/innopoints-backend/blob/1303c953823820382066b0202b96d20ae8971910/innopoints/views/product.py#L121Can easily be solved after solving the issue of sending notifications in a separate thread (using
threading.Timer
)Both tasks are in the scope of this issue.
The text was updated successfully, but these errors were encountered: