summaryrefslogtreecommitdiff
path: root/scripts/profiling/spam.py
diff options
context:
space:
mode:
authordrebs <drebs@leap.se>2015-04-27 15:27:37 -0300
committerdrebs <drebs@leap.se>2015-04-28 21:34:39 -0300
commit0ac9b6a612f2e8ff138008bb7add93bdd6a71b9d (patch)
tree4f32ff8c482530a645438de0bf7fc707f265ca0d /scripts/profiling/spam.py
parentc28663169e4bbd724c5f8b55610ee6e2fd008e1b (diff)
[bug] remove old code for sync deferred db init
The database initialization on the client sync module is deferred to another thread. As there is only one thread in the thread pool, this should not be a problem for now, as operations will actually be queued in that thread. There was some old code left from when we had to explicitelly wait for the db to be initialize before using it. This commit removes that old code and introduces some documentation so we remember to deal with deferred db init if we ever change the number of threads in the thread pool.
Diffstat (limited to 'scripts/profiling/spam.py')
0 files changed, 0 insertions, 0 deletions