
To be able to restore the runner timeouts even after a Poseidon restart, the timeout is stored in the Nomad metadata. The timeout will restart, but at least the runner will be returned at all.
10 lines
272 B
Go
10 lines
272 B
Go
package runner
|
|
|
|
import "gitlab.hpi.de/codeocean/codemoon/poseidon/tests"
|
|
|
|
const (
|
|
defaultEnvironmentID = EnvironmentID(tests.DefaultEnvironmentIDAsInteger)
|
|
anotherEnvironmentID = EnvironmentID(tests.AnotherEnvironmentIDAsInteger)
|
|
defaultInactivityTimeout = 0
|
|
)
|