Skip to content

Commit

Permalink
minors
Browse files Browse the repository at this point in the history
  • Loading branch information
justanhduc committed Feb 15, 2022
1 parent 54b2145 commit 30d17df
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion server.c
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,10 @@ static void server_loop(int ls) {
struct timeval tv;
int res;

/* wait up to 30 secs before checking whether a job can run */
/* Wait up to 30 secs before checking whether a job can run.
* This is needed for GPU jobs because if GPUs are occupied and
* released outside of `ts`, `ts` will not notice until new commands
* from users come. */
tv.tv_sec = 30;
tv.tv_usec = 0;
while (keep_loop) {
Expand Down

0 comments on commit 30d17df

Please sign in to comment.