Skip to content

Commit

Permalink
increased wait time to more sensible value, half a second proved to b…
Browse files Browse the repository at this point in the history
…e not enough in all cases I tried, dev or prod
  • Loading branch information
vesper8 committed Oct 12, 2019
1 parent d9288ee commit 36622dd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ TUNNELER_PORT=sshport

; How long to wait, in microseconds, before testing to see if the tunnel is created.
; Depending on your network speeds you will want to modify the default of .5 seconds
TUNNELER_CONN_WAIT=500000
TUNNELER_CONN_WAIT=1000000

; How often it is checked if the tunnel is created. Useful if the tunnel creation is sometimes slow,
; and you want to minimize waiting times
Expand Down
2 changes: 1 addition & 1 deletion config/tunneler.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
'user' => env('TUNNELER_USER'),
'hostname' => env('TUNNELER_HOSTNAME'),
'port' => env('TUNNELER_PORT'),
'wait' => env('TUNNELER_CONN_WAIT', '500000'),
'wait' => env('TUNNELER_CONN_WAIT', '1000000'),
'tries' => env('TUNNELER_CONN_TRIES', 1),

'on_boot' => filter_var(env('TUNNELER_ON_BOOT', false), FILTER_VALIDATE_BOOLEAN),
Expand Down

0 comments on commit 36622dd

Please sign in to comment.