mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-02 07:18:25 +01:00
9 lines
204 B
Python
9 lines
204 B
Python
import os
|
|
# Increasing fd ulimit for tests
|
|
if os.name == 'nt':
|
|
import win32file
|
|
win32file._setmaxstdio(2048)
|
|
else:
|
|
import resource
|
|
resource.setrlimit(resource.RLIMIT_NOFILE, (2048, 2048))
|