Remove unnecessary sleeps
Every time MaxScale was restarted, the test waited for a total of 25 seconds. As MaxScale should start before the command returns, the sleep is not necessary. Added StartLimitBurst=0 to the systemd service file to allow rapid restarts of MaxScale.
This commit is contained in:
@ -19,6 +19,7 @@ Group=maxscale
|
||||
ExecStart=@CMAKE_INSTALL_PREFIX@/@MAXSCALE_BINDIR@/maxscale
|
||||
TimeoutStartSec=120
|
||||
LimitNOFILE=65535
|
||||
StartLimitBurst=0
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
||||
Reference in New Issue
Block a user