invoking a function while dropping a TCP connection of a client #3581
Unanswered
agent-batman
asked this question in
Q&A
Replies: 1 comment 3 replies
-
|
You could create a custom |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Summary
I am trying to implement a service which will hold some value of an user and on dropping the TCP connection the data will be removed from the database.
I thought about using TTL on values, but it doesn't work because if the user tries to log in before the value is dropped then it causes a problem. And if the user stays idle for a long time while keeping the TCP connection the value will get automatically dropped due to TTL which will also cause a problem.
axum version
0.8.7
Beta Was this translation helpful? Give feedback.
All reactions