Revision 6e18cc0d src/Ganeti/HsConstants.hs

b/src/Ganeti/HsConstants.hs
962 962
instanceCreateModes =
963 963
  ConstantUtils.mkSet $ map Types.instCreateModeToRaw [minBound..]
964 964

  
965
-- * Remote import/export handshake message and version
966

  
967
rieHandshake :: String
968
rieHandshake = "Hi, I'm Ganeti"
969

  
970
rieVersion :: Int
971
rieVersion = 0
972

  
973
-- | Remote import/export certificate validity in seconds
974
rieCertValidity :: Int
975
rieCertValidity = 24 * 60 * 60
976

  
977
-- | Export only: how long to wait per connection attempt (seconds)
978
rieConnectAttemptTimeout :: Int
979
rieConnectAttemptTimeout = 20
980

  
981
-- | Export only: number of attempts to connect
982
rieConnectRetries :: Int
983
rieConnectRetries = 10
984

  
985
-- | Overall timeout for establishing connection
986
rieConnectTimeout :: Int
987
rieConnectTimeout = 180
988

  
989
-- | Give child process up to 5 seconds to exit after sending a signal
990
childLingerTimeout :: Double
991
childLingerTimeout = 5.0
992

  
965 993
-- * Dynamic device modification
966 994

  
967 995
ddmAdd :: String

Also available in: Unified diff