Method: Aptly::Configuration#write_timeout
- Defined in:
- lib/aptly/configuration.rb
#write_timeout ⇒ Object
The request write timeout in seconds. HTTP connections not responding in this time limit will raise an error. When pushing data into Aptly or publishing large repositories this value should be suitably high. This timeout is used for API calls which we expect to need a write-lock on the server. Using a value of a couple minutes is recommended if you have concurrent write requests (multiple uploads from different sources) or the server performance isn’t always assured (slow disk, load spikes).
49 50 51 |
# File 'lib/aptly/configuration.rb', line 49 def write_timeout @write_timeout end |