mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-14 06:45:21 +00:00
Provide custom BackgroundExecutorWrapper to pass thread locals
This commit is contained in:
1 parent
914de92152
commit
336accf447
8 files changed
+307
-50
No files matched your search
+1
-1
@@ -31,7 +31,7 @@ class DaemonExecutorServiceTest {
|
||||
|
||||
@Test
|
||||
void submit_via_DefaultBackgroundExecutor() throws Exception {
|
||||
DefaultBackgroundExecutor des = new DefaultBackgroundExecutor(1, 5, "junk");
|
||||
DefaultBackgroundExecutor des = new DefaultBackgroundExecutor(1, 5, "junk", null);
|
||||
long start = System.currentTimeMillis();
|
||||
List<Future<?>> futures = new ArrayList<>();
|
||||
for (int i = 0; i < count; i++) {
|
||||
|
||||
Reference in new issue
Block a user