Use 60 seconds, not 15

This commit is contained in:
Dane Everitt 2020-11-01 17:26:45 -08:00
parent fe572beada
commit 13c253780a
No known key found for this signature in database
GPG Key ID: EEA66103B3D71F53

View File

@ -44,7 +44,7 @@ func (dsl *diskSpaceLimiter) Reset() {
func (dsl *diskSpaceLimiter) Trigger() {
dsl.o.Do(func() {
dsl.server.PublishConsoleOutputFromDaemon("Server is exceeding the assigned disk space limit, stopping process now.")
if err := dsl.server.Environment.WaitForStop(15, true); err != nil {
if err := dsl.server.Environment.WaitForStop(60, true); err != nil {
dsl.server.Log().WithField("error", err).Error("failed to stop server after exceeding space limit!")
}
})