diff --git a/examples/async/Misc.py b/examples/async/Misc.py new file mode 100644 index 0000000..e1a6d44 --- /dev/null +++ b/examples/async/Misc.py @@ -0,0 +1,20 @@ +''' +Each time this file is split with this: + +## ----- Example: X ----- ## + +It will be treated as a new file/example +''' + +## ----- Example: Change call Retry Count ----- ## + +''' +Built in is retry logic for when VRChat disconnects a call with no response +Default retries is 1 (so 1 call, then 1 retry if it fails) + +To change retry count, use the method below. +''' + +from vrcpy.request import ACall + +ACall.call_retries = 5 diff --git a/examples/sync/Misc.py b/examples/sync/Misc.py new file mode 100644 index 0000000..f86ad36 --- /dev/null +++ b/examples/sync/Misc.py @@ -0,0 +1,20 @@ +''' +Each time this file is split with this: + +## ----- Example: X ----- ## + +It will be treated as a new file/example +''' + +## ----- Example: Change call Retry Count ----- ## + +''' +Built in is retry logic for when VRChat disconnects a call with no response +Default retries is 1 (so 1 call, then 1 retry if it fails) + +To change retry count, use the method below. +''' + +from vrcpy.request import Call + +Call.call_retries = 5