mirror of
https://github.com/songoda/SongodaCore.git
synced 2025-02-03 05:01:27 +01:00
Uses the asyncPool in DataManagerAbstract#asyncFuture
(#22)
This commit is contained in:
parent
7a85bd7a2a
commit
f6b091bb79
@ -89,7 +89,7 @@ public class DataManagerAbstract {
|
||||
* @param runnable task to run
|
||||
*/
|
||||
public CompletableFuture<Void> asyncFuture(Runnable runnable) {
|
||||
return CompletableFuture.runAsync(runnable);
|
||||
return CompletableFuture.runAsync(runnable, this.asyncPool);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user