diff --git a/README.md b/README.md index 83165c0..1a01176 100644 --- a/README.md +++ b/README.md @@ -118,7 +118,7 @@ Module Docs - https://github.com/ClericPy/morebuiltins/blob/master/doc.md - [x] add zipapps as a submodule(https://github.com/ClericPy/zipapps) - v0.0.3 - [x] asyncio free-flying tasks(bg_task) - v0.0.3 - [x] named lock with timeout - v0.0.4 -- [ ] FuncSchema (parse function to get the query-dict) - v0.0.4 +- [x] FuncSchema (parse function to get the query-dict) - v0.0.4 - [ ] progress_bar - [ ] http.server (upload) - [ ] time reach syntax diff --git a/morebuiltins/functools.py b/morebuiltins/functools.py index 3ceb96d..6d2c8e7 100644 --- a/morebuiltins/functools.py +++ b/morebuiltins/functools.py @@ -214,7 +214,7 @@ def _test1(): def _test2(): with NamedLock("_test2", lambda: Semaphore(2), timeout=0.05) as lock: - time.sleep(0.1) + time.sleep(0.2) return bool(lock) with ThreadPoolExecutor(10) as pool: @@ -396,7 +396,7 @@ def _test1(): def _test2(): with NamedLock("_test2", lambda: Semaphore(2), timeout=0.05) as lock: - time.sleep(0.1) + time.sleep(0.2) return bool(lock) with ThreadPoolExecutor(10) as pool: