-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* allow longer for updating routes with lots of data * split apart initial adding of skf and updating SKF tables do not have write_concurrency because of the memory overhead. The process of "adding" a SKF involves removing other copies from the table with a select_delete/2. For sufficiently large tables of SKF this would bottleneck quite badly and slam all of the processing available. Instead, on starting up the connection we don't try to remove any skfs, we know we'll receive only `adds` from the config service for the initial dump of the db, and there's a fairly consistent stream of `removes` coming in. Once we hit one of those it can be assumed we're done with the initial loading of data and we can go back to removing SKFs as they come in to be updated. * fix eunit complaining
- Loading branch information
1 parent
86123f5
commit 2a36195
Showing
3 changed files
with
106 additions
and
43 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