GitHub user BaurzhanSakhariev edited a comment on the discussion: Use single
AsyncExecutor for all operations
Oops, I was just too slow second time, keeping stream/operator open doesn't
help.
I checked "All threads" instead of "Finished" and again saw 1000 threads. Also,
singleton AsyncExecutor is not "destroyed", I added some dummy code like
```
if (ASYNC_EXECUTOR.isDisposed()) {
throw new IllegalStateException("EXECUTOR HAS BEEN DISPOSED!");
}
```
and haven't seen this exception, so basically executor is not re-used and it's
not that it's being disposed
GitHub link:
https://github.com/apache/opendal/discussions/5096#discussioncomment-10543249
----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]