Skip to content

Commit

Permalink
trying a random hack #4772
Browse files Browse the repository at this point in the history
  • Loading branch information
rusefillc committed Feb 20, 2023
1 parent ad60596 commit b5ecf59
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
import com.rusefi.f4discovery.HighRevTest;
import com.rusefi.f4discovery.PwmHardwareTest;
import com.rusefi.f4discovery.VssHardwareLoopTest;
import com.rusefi.io.CommandQueue;

/**
* dead?
Expand All @@ -22,6 +23,10 @@
public class HwCiF4Discovery {

public static void main(String[] args) {
/**
* trying a random hack https://github.com/rusefi/rusefi/issues/4772
*/
CommandQueue.DEFAULT_TIMEOUT = 4950;
boolean isOk = runHardwareTest();
if (!isOk)
System.exit(-1);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
public class CommandQueue {
private static final Logging log = getLogging(CommandQueue.class);
public static final String CONFIRMATION_PREFIX = "confirmation_";
public static final int DEFAULT_TIMEOUT = 500;
public static int DEFAULT_TIMEOUT = 500;
private static final int COMMAND_CONFIRMATION_TIMEOUT = 1000;
public static final int SLOW_CONFIRMATION_TIMEOUT = 5000;
public static final Class<CommandQueue> COMMAND_QUEUE_CLASS = CommandQueue.class;
Expand Down

0 comments on commit b5ecf59

Please sign in to comment.