Skip to content
This repository was archived by the owner on Dec 20, 2021. It is now read-only.

Commit e80b07f

Browse files
committed
call_retries
1 parent 1038934 commit e80b07f

File tree

2 files changed

+40
-0
lines changed

2 files changed

+40
-0
lines changed

examples/async/Misc.py

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
'''
2+
Each time this file is split with this:
3+
4+
## ----- Example: X ----- ##
5+
6+
It will be treated as a new file/example
7+
'''
8+
9+
## ----- Example: Change call Retry Count ----- ##
10+
11+
'''
12+
Built in is retry logic for when VRChat disconnects a call with no response
13+
Default retries is 1 (so 1 call, then 1 retry if it fails)
14+
15+
To change retry count, use the method below.
16+
'''
17+
18+
from vrcpy.request import ACall
19+
20+
ACall.call_retries = 5

examples/sync/Misc.py

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
'''
2+
Each time this file is split with this:
3+
4+
## ----- Example: X ----- ##
5+
6+
It will be treated as a new file/example
7+
'''
8+
9+
## ----- Example: Change call Retry Count ----- ##
10+
11+
'''
12+
Built in is retry logic for when VRChat disconnects a call with no response
13+
Default retries is 1 (so 1 call, then 1 retry if it fails)
14+
15+
To change retry count, use the method below.
16+
'''
17+
18+
from vrcpy.request import Call
19+
20+
Call.call_retries = 5

0 commit comments

Comments
 (0)