Skip to content
This repository has been archived by the owner on Jun 6, 2024. It is now read-only.

Make debugging reservation time configurable. #2257

Merged
merged 12 commits into from
Mar 5, 2019

Conversation

ydye
Copy link
Contributor

@ydye ydye commented Mar 4, 2019

No description provided.

@ydye ydye requested a review from Gerhut March 4, 2019 04:12
@coveralls
Copy link

Coverage Status

Coverage remained the same at 52.649% when pulling caa1848 on yuye/reserve-time into 0464c2c on job-debugging-dev.

1 similar comment
@coveralls
Copy link

Coverage Status

Coverage remained the same at 52.649% when pulling caa1848 on yuye/reserve-time into 0464c2c on job-debugging-dev.

@coveralls
Copy link

coveralls commented Mar 4, 2019

Coverage Status

Coverage increased (+16.8%) to 71.153% when pulling 66c9137 on yuye/reserve-time into 1a0036e on job-debugging-dev.

@@ -32,12 +32,14 @@ try {

let paiConfigData = {
machineList: paiMachineList,
debuggingReservationSeconds: Number(process.env.DEBUGGING_RESERVATION_SECONDS),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To make the rest-server could be run separately, I think it's better to give a default in this stage.

Suggested change
debuggingReservationSeconds: Number(process.env.DEBUGGING_RESERVATION_SECONDS),
debuggingReservationSeconds: Number(process.env.DEBUGGING_RESERVATION_SECONDS || 604800),

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

@ydye ydye merged commit fd6039c into job-debugging-dev Mar 5, 2019
@ydye ydye deleted the yuye/reserve-time branch April 3, 2019 07:47
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants