Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
There is only going to be 1 admin notification thread :(
Turns out threads aren't scaleable. Starting up more than one at a time costs a lot of overhead. Well not when we do it on any other page, but they make the orderFormHandler page take forever to redirect. Like, long enough that the connection cleanup thread freaks out and crashes everything. There is a connection cleanup thread btw. Why? What connection is even open there? Who knows. Designating a single thread to do nothing but start notification queue threads for everyone doesn't help. Using a thread pool event scheduler doesn't help. Using a thread pool event scheduler to schedule a single thread which is designated to do nothing but start notification queue threads for everyone? Nope, redirict page waits that full minute and then wait for every thread to begin, then crashes. I give up. Every admin is now on the same mailing list.
- Loading branch information
Showing
5 changed files
with
165 additions
and
20 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
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
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