pyupio/safety

Document timeouts and make them configurable

Opened this issue · 0 comments

  • safety version: 2.3.5
  • Python version: 3.12
  • Operating System: Windows

Description

Running safety check often results in the error Check your network connection, the request timed out.. It isn't clear from the output what is timing out (eg was it while establishing the connection, or waiting for a response), how long it waited before timing out, what resource it was fetching, or even what server it was connecting to.

Also, is there a way to increase the timeout (seems to be hard coded here to 5 seconds)? I tried searching for timeout in the documentation, but there were no results.