File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 11# for c_cpp
22
3- FROM ubuntu:18 .04
3+ FROM ubuntu:20 .04
44
55LABEL org.opencontainers.image.authors="Normal-OJ Maintainers <
[email protected] >"
66
77# update
88RUN apt-get update -y
99
1010# install seccomp
11- RUN apt-get install seccomp -y
11+ RUN apt-get install libseccomp-dev -y
1212
1313# install g++
14- RUN apt-get install g++ -y
14+ RUN apt-get install g++ gcc -y
1515
1616# sandbox user with uid:1450
1717RUN useradd sandbox -u 1450
Original file line number Diff line number Diff line change @@ -98,7 +98,7 @@ def ensure_testdata(problem_id: int):
9898 client = get_redis_client ()
9999 key = f'problem-{ problem_id } -checksum'
100100 lock_key = f'{ key } -lock'
101- with client .lock (lock_key , timeout = 15 ):
101+ with client .lock (lock_key , timeout = 60 ):
102102 curr_checksum = client .get (key )
103103 if curr_checksum is not None :
104104 curr_checksum = curr_checksum .decode ()
You can’t perform that action at this time.
0 commit comments