We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 441ce6b commit b772236Copy full SHA for b772236
mbed_lstools/lstools_base.py
@@ -253,7 +253,7 @@ def read_mock_file(filename):
253
254
try:
255
lock = self.mbedls_get_global_lock()
256
- if lock.acquire(timeout=1):
+ if lock.acquire(timeout=0.5):
257
# This read is for backward compatibility
258
# When user already have on its system local mock-up it will work
259
# overwriting global one
@@ -290,7 +290,7 @@ def write_mock_file(filename, mock_ids):
290
291
292
293
294
ret = write_mock_file(self.MOCK_HOME_FILE_NAME, mock_ids)
295
lock.release()
296
return ret
0 commit comments