File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -104,6 +104,10 @@ def prepare_build(
104
104
options ["soft_time_limit" ] = time_limit
105
105
options ["time_limit" ] = int (time_limit * 1.2 )
106
106
107
+ structlog .contextvars .bind_contextvars (
108
+ time_limit = options ["time_limit" ], soft_time_limit = options ["soft_time_limit" ]
109
+ )
110
+
107
111
if commit :
108
112
structlog .contextvars .bind_contextvars (commit = commit )
109
113
Original file line number Diff line number Diff line change @@ -810,6 +810,8 @@ def create_container(self):
810
810
"Creating Docker container." ,
811
811
container_image = self .container_image ,
812
812
container_id = self .container_id ,
813
+ time_limit = self .container_time_limit ,
814
+ mem_limit = self .container_mem_limit ,
813
815
)
814
816
self .container = client .create_container (
815
817
image = self .container_image ,
You can’t perform that action at this time.
0 commit comments