Skip to content

Commit

Permalink
fix: add missing parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
findhumane committed Mar 17, 2024
1 parent f7acd9a commit e1fb0fe
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public class ThreadedDownloaderModule extends ReactContextBaseJavaModule {
private static final String NEWLINE = System.lineSeparator();

private ExecutorService executorService;

public ThreadedDownloaderModule(ReactApplicationContext reactContext) {
super(reactContext);
}
Expand Down Expand Up @@ -62,7 +62,7 @@ public Thread newThread(Runnable r) {
}
}

DownloaderThread downloader = new DownloaderThread(url, promise);
DownloaderThread downloader = new DownloaderThread(url, timeoutSeconds, promise);
executorService.execute(downloader);
}

Expand Down

0 comments on commit e1fb0fe

Please sign in to comment.