# HG changeset patch # User RhodeCode Admin # Date 2023-03-20 13:32:23 # Node ID 59dabacee7f3ed0456340cb0bb4097f6cde67e0f # Parent 1d38bc16b48b9f20b9a1081a1b6214eeb8eacbb6 json: replaced simplejson with orjson diff --git a/requirements.txt b/requirements.txt --- a/requirements.txt +++ b/requirements.txt @@ -18,6 +18,7 @@ mercurial==6.3.3 mock==5.0.1 more-itertools==9.1.0 msgpack-python==0.5.6 +orjson==3.8.7 psutil==5.9.4 py==1.11.0 pygit2==1.11.1 @@ -41,7 +42,6 @@ redis==4.5.1 repoze.lru==0.7 scandir==1.10.0 setproctitle==1.3.2 -simplejson==3.18.3 subvertpy==0.11.0 wcwidth==0.2.6 diff --git a/vcsserver/lib/rc_json.py b/vcsserver/lib/rc_json.py --- a/vcsserver/lib/rc_json.py +++ b/vcsserver/lib/rc_json.py @@ -1,1 +1,2 @@ -import simplejson as json +# use orjson by default +import orjson as json