Skip to content

Commit e00b4ef

Browse files
authored
add sleep between image prepull batches
1 parent 3b85c34 commit e00b4ef

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

utils/prepull_images.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -297,6 +297,7 @@ def prepull_images(namespace: str,
297297
try:
298298
logging.info('FIRST BATCH : CPU IMAGES')
299299
prepull_images(namespace=NAMESPACE, image_type="cpu")
300+
time.sleep(3660) # To avoid exceeding the Docker pull limit
300301
logging.info('SECOND BATCH : GPU IMAGES')
301302
prepull_images(namespace=NAMESPACE, image_type="gpu")
302303
logging.info('PRE-PULL PROCESS DONE')

0 commit comments

Comments
 (0)