Skip to content

Commit a8926c1

Browse files
committed
Remove superfluous async
1 parent 626fc79 commit a8926c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/controllers/litestream/restorations_controller.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ def create
99
now = Time.now.utc.strftime("%Y%m%d%H%M%S")
1010
backup = File.join(dir, "#{base}-#{now}#{ext}")
1111

12-
Litestream::Commands.restore(database, async: false, **{"-o" => backup})
12+
Litestream::Commands.restore(database, **{"-o" => backup})
1313

1414
redirect_to root_path, notice: "Restored to <code>#{backup}</code>."
1515
end

0 commit comments

Comments
 (0)