Mercurial Hosting > luan
changeset 2033:905a6ade55f2 default
change corePoolSize from 1 to 10
| author | Franklin Schmidt <fschmidt@gmail.com> |
|---|---|
| date | Tue, 04 Nov 2025 13:30:21 -0700 |
| parents | a7bd5901daf4 |
| children | d718511fc69f |
| files | src/luan/modules/ThreadLuan.java |
| diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
diff -r a7bd5901daf4 -r 905a6ade55f2 src/luan/modules/ThreadLuan.java --- a/src/luan/modules/ThreadLuan.java Sun Nov 02 19:03:57 2025 -0700 +++ b/src/luan/modules/ThreadLuan.java Tue Nov 04 13:30:21 2025 -0700 @@ -36,7 +36,7 @@ } private static final Executor exec = Executors.newCachedThreadPool(); - public static final ScheduledExecutorService scheduler = Executors.newScheduledThreadPool(1); + public static final ScheduledExecutorService scheduler = Executors.newScheduledThreadPool(10); private static Runnable runnable(final Luan luan,final LuanFunction fn) { return new Runnable() {
