Skip to content

Commit

Permalink
Mods
Browse files Browse the repository at this point in the history
  • Loading branch information
madprops committed Apr 5, 2024
1 parent 53d3d6a commit 7b3bb31
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion clipton.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
USER_AGENT = "Mozilla/5.0 (Windows NT 10.0; Win64; x64)"
ORIGINAL = "Original :: "
CMD_TIMEOUT = 3
SOCKET_TIMEOUT = 6

#-----------------
# SETTINGS
Expand Down Expand Up @@ -827,7 +828,7 @@ def start() -> None:
# Main function
def main() -> None:
# Set a timeout for all socket operations
socket.setdefaulttimeout(CMD_TIMEOUT)
socket.setdefaulttimeout(SOCKET_TIMEOUT)

Config.setup()
Settings.read()
Expand Down

0 comments on commit 7b3bb31

Please sign in to comment.