Add comment for retries to Runner#execute_command
This commit is contained in:
@ -103,6 +103,7 @@ class Runner < ApplicationRecord
|
|||||||
try += 1
|
try += 1
|
||||||
|
|
||||||
if try == 1
|
if try == 1
|
||||||
|
# This is only used if no files were copied to the runner. Thus requesting a second runner is performed here
|
||||||
# Reset the variable. This is required to prevent raising an outdated exception after a successful second try
|
# Reset the variable. This is required to prevent raising an outdated exception after a successful second try
|
||||||
e = nil
|
e = nil
|
||||||
retry
|
retry
|
||||||
|
Reference in New Issue
Block a user