sovereign 1.0.0b121__py3-none-any.whl → 1.0.0b122__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of sovereign might be problematic. Click here for more details.

sovereign/server.py CHANGED
@@ -72,13 +72,13 @@ def write_supervisor_conf() -> Path:
72
72
  "socket": f"tcp://{asgi_config.host}:{asgi_config.port}",
73
73
  "numprocs": str(asgi_config.workers),
74
74
  "process_name": "%(program_name)s-%(process_num)02d",
75
- "command": "sovereign-web",
75
+ "command": "sovereign-web", # default niceness, higher CPU priority
76
76
  }
77
77
 
78
78
  conf["program:data"] = worker = {
79
79
  **base,
80
80
  "numprocs": "1",
81
- "command": "sovereign-worker",
81
+ "command": "nice -n 10 sovereign-worker", # run worker with reduced CPU priority (higher niceness value)
82
82
  }
83
83
 
84
84
  if user := asgi_config.user:
sovereign/statistics.py CHANGED
@@ -19,7 +19,7 @@ class StatsDProxy:
19
19
  return self.do_nothing
20
20
 
21
21
  def do_nothing(self, *args: Any, **kwargs: Any) -> None:
22
- k = args[0]
22
+ _ = args[0]
23
23
 
24
24
 
25
25
  class StatsdNoop:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: sovereign
3
- Version: 1.0.0b121
3
+ Version: 1.0.0b122
4
4
  Summary: Envoy Proxy control-plane written in Python
5
5
  Home-page: https://pypi.org/project/sovereign/
6
6
  License: Apache-2.0
@@ -18,7 +18,7 @@ sovereign/modifiers/lib.py,sha256=Cx0VrpTKbSjb3YmHyG4Jy6YEaPlrwpeqNaom3zu1_hw,28
18
18
  sovereign/rendering.py,sha256=MIA7se7-C4WTWf7xZSgqpf7NvhDT7NkZbR3_G9N1dHI,5015
19
19
  sovereign/response_class.py,sha256=beMAFV-4L6DwyWzJzy71GkEW4gb7fzH1jd8-Tul13cU,427
20
20
  sovereign/schemas.py,sha256=Jf_w2mAX1b31eCAtJuxSZgy9KMVRKntmnEbbCZGZCxQ,38067
21
- sovereign/server.py,sha256=CEFysknYBtYdve9TTGSMW_-wmygp3NJ85pynAxNdlcw,2855
21
+ sovereign/server.py,sha256=G2z8bsYfIXhQy61vFRozmhQUtS6f5-WwwzZZO1RJ1ng,2971
22
22
  sovereign/sources/__init__.py,sha256=g9hEpFk8j5i1ApHQpbc9giTyJW41Ppgsqv5P9zGxOJk,78
23
23
  sovereign/sources/file.py,sha256=prUThsDCSPNwZaZpkKXhAm-GVRZWbBoGKGU0It4HHXs,690
24
24
  sovereign/sources/inline.py,sha256=pP77m7bHjqE3sSoqZthcuw1ARVMf9gooVwbz4B8OAek,1003
@@ -28,7 +28,7 @@ sovereign/static/node_expression.js,sha256=dL9QLM49jorqavf3Qtye6E1QTWYDT1rFI0tQR
28
28
  sovereign/static/panel.js,sha256=i5mGExjv-I4Gtt9dQiTyFwPZa8pg5rXeuTeidXNUiTE,2695
29
29
  sovereign/static/sass/style.scss,sha256=tPHPEm3sZeBFGDyyn3pHcA-nbaKT-h-UsSTsf6dHNDU,1158
30
30
  sovereign/static/style.css,sha256=vG8HPsbCbPIZfHgy7gSeof97Pnp0okkyaXyJzIEEW-8,447517
31
- sovereign/statistics.py,sha256=XKwblg_00TAdr7EjZ9gf7MEzvGR6tQ21bsJ-m-fSJE4,2033
31
+ sovereign/statistics.py,sha256=QhDB0bs5kZDGjy248AOIv_bzNbz_c2U7xmJ0hoUNOmw,2033
32
32
  sovereign/templates/base.html,sha256=5vw3-NmN291pXRdArpCwhSce9bAYBWCJVRhvO5EmE9g,2296
33
33
  sovereign/templates/err.html,sha256=a3cEzOqyqWOIe3YxfTEjkxbTfxBxq1knD6GwzEFljfs,603
34
34
  sovereign/templates/resources.html,sha256=QaZ1S38JhAZg3-PfQS1cAKhCczVLXw9e4pztBrqr4qs,40217
@@ -60,8 +60,8 @@ sovereign/views/discovery.py,sha256=B_D1ckfbN1dSKBvuFCTyfB79GUUriCADTB53OwZ8D4Q,
60
60
  sovereign/views/healthchecks.py,sha256=TaXbxkX679jyQ8v5FxtBa2Qa0Z7KuqQ10WgAqfuVGUc,1743
61
61
  sovereign/views/interface.py,sha256=FmQ7LiUPLSvkEDOKCncrnKMD9g1lJKu-DQNbbyi8mqk,6346
62
62
  sovereign/worker.py,sha256=sOVHVVv63I08_KIdaKR0hUnYLMXwoqh9jmsCw8albZE,5230
63
- sovereign-1.0.0b121.dist-info/LICENSE.txt,sha256=2X125zvAb9AYLjCgdMDQZuufhm0kwcg31A8pGKj_-VY,560
64
- sovereign-1.0.0b121.dist-info/METADATA,sha256=iPs_H0klgEjiVvrzINuD7-SIek9EsGcqIOJHC5mMP3E,6304
65
- sovereign-1.0.0b121.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
66
- sovereign-1.0.0b121.dist-info/entry_points.txt,sha256=VKJdnnN_HNL8xYQMXsFXfFmN6QkdXMEk5S964avxQJI,1404
67
- sovereign-1.0.0b121.dist-info/RECORD,,
63
+ sovereign-1.0.0b122.dist-info/LICENSE.txt,sha256=2X125zvAb9AYLjCgdMDQZuufhm0kwcg31A8pGKj_-VY,560
64
+ sovereign-1.0.0b122.dist-info/METADATA,sha256=WJTgVmWF75T6G6Q9YlBREAoFy95mVrnZBk_Itv24EiU,6304
65
+ sovereign-1.0.0b122.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
66
+ sovereign-1.0.0b122.dist-info/entry_points.txt,sha256=VKJdnnN_HNL8xYQMXsFXfFmN6QkdXMEk5S964avxQJI,1404
67
+ sovereign-1.0.0b122.dist-info/RECORD,,