Skip to content

Commit

Permalink
- F downloading scripts is now fire and forget
Browse files Browse the repository at this point in the history
Co-authored-by: Jay Bazuzi <[email protected]>
Co-authored-by: Llewellyn Falco <[email protected]>
  • Loading branch information
3 people committed Feb 17, 2025
1 parent 0765812 commit 7266c0b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ public class ApprovedFileLog
static
{
FileUtils.writeFile(get(), "");
Once.run(() -> LoggingUtils.downloadScriptIfMissing("detect_and_remove_abandoned"));
Once.runAsync(() -> LoggingUtils.downloadScriptIfMissing("detect_and_remove_abandoned"));
}
public static File get()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public class FailedFileLog
}
private static void downloadApproveAllScriptIfMissing()
{
Once.run(() -> LoggingUtils.downloadScriptIfMissing("approve_all"));
Once.runAsync(() -> LoggingUtils.downloadScriptIfMissing("approve_all"));
}
public static File get()
{
Expand Down

0 comments on commit 7266c0b

Please sign in to comment.