Revision 4478301b lib/constants.py

b/lib/constants.py
421 421
# Remote import/export certificate validity in seconds
422 422
RIE_CERT_VALIDITY = 24 * 60 * 60
423 423

  
424
# Remote import/export connect timeout for socat
424
# Overall timeout for establishing connection
425 425
RIE_CONNECT_TIMEOUT = 180
426 426

  
427
# Export only: how long to wait per connection attempt (seconds)
428
RIE_CONNECT_ATTEMPT_TIMEOUT = 20
429

  
430
# Export only: number of attempts to connect
431
RIE_CONNECT_RETRIES = 10
432

  
427 433
DISK_TEMPLATES = frozenset([DT_DISKLESS, DT_PLAIN,
428 434
                            DT_DRBD8, DT_FILE])
429 435

  

Also available in: Unified diff