mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-18 05:39:53 +01:00
Increased queue capacity of database executor.
This commit is contained in:
@@ -23,7 +23,7 @@ public class DatabaseModule extends AbstractModule {
|
|||||||
* The maximum number of database tasks that can be queued for execution
|
* The maximum number of database tasks that can be queued for execution
|
||||||
* before submitting another task will block.
|
* before submitting another task will block.
|
||||||
*/
|
*/
|
||||||
private static final int MAX_QUEUED_DB_TASKS = 10;
|
private static final int MAX_QUEUED_DB_TASKS = 1000;
|
||||||
|
|
||||||
/** The minimum number of database threads to keep in the pool. */
|
/** The minimum number of database threads to keep in the pool. */
|
||||||
private static final int MIN_DB_THREADS = 1;
|
private static final int MIN_DB_THREADS = 1;
|
||||||
|
|||||||
Reference in New Issue
Block a user