-
-
Notifications
You must be signed in to change notification settings - Fork 103
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
make analysis of session a separate background task (#395)
* make analysis of session a separate background task * Proper imports * get keys value from redis * Cancel the analyze task * add analyze timeout so the the task doesn't run continuously Also drop the usage of queue during analyze function * update the exception message * Update tests * Remove threading completely * update thread loops
- Loading branch information
Mehtab Zafar
authored
Jul 31, 2020
1 parent
f5b4af0
commit 336a87e
Showing
5 changed files
with
143 additions
and
94 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -99,3 +99,4 @@ REMOTE_DOCKERFILE: | |
|
||
SESSIONS: | ||
delete_timeout: 300 | ||
analyze_timeout: 300 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.