issues
search
AleGlowa
/
cryptobot-be
0
stars
0
forks
source link
[bybit/ws] Exit the application when a configured maximum number of reconnect tries is reached
#1
Closed
AleGlowa
closed
1 year ago
AleGlowa
commented
1 year ago
Add
reconnectTries
to
application.conf
and to
Config
file
Represent the tries as a
Ref
variable starting with 0
Increment the
Ref
every time after a failed reconnect try
When
Ref
>=
reconnectTries
stop trying
Set
Ref
again to 0 when a try is successful
reconnectTries
toapplication.conf
and toConfig
fileRef
variable starting with 0Ref
every time after a failed reconnect tryRef
>=reconnectTries
stop tryingRef
again to 0 when a try is successful