From 5f356b212715b8f758470ec214de859b263f0762 Mon Sep 17 00:00:00 2001 From: cfuselli Date: Mon, 6 Mar 2023 16:48:48 +0000 Subject: [PATCH 1/2] fix pymongo warning, update gitignore --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index 8ff9bb7ec..9b3ccce32 100644 --- a/.gitignore +++ b/.gitignore @@ -29,6 +29,7 @@ custom_data test_input_data *.zip last_bootstrax_exception.txt +bootstrax_exceptions # cProfile output *.prof From cdd133d2f96ac048a2ddabc27739ef06d549e055 Mon Sep 17 00:00:00 2001 From: cfuselli Date: Mon, 6 Mar 2023 16:54:42 +0000 Subject: [PATCH 2/2] fix pymongo warning --- bin/bootstrax | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bin/bootstrax b/bin/bootstrax index bd51ae991..845dfc5df 100755 --- a/bin/bootstrax +++ b/bin/bootstrax @@ -1648,6 +1648,10 @@ def cleanup_db(): if __name__ == '__main__': + + # to avoid warnings pymongo fork + multiprocessing.set_start_method('spawn') + if not args.undying: main() else: