reyserver 1.1.63__py3-none-any.whl → 1.1.64__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 reyserver might be problematic. Click here for more details.

reyserver/rserver.py CHANGED
@@ -221,6 +221,7 @@ class Server(ServerBase, Singleton):
221
221
  host: str = '127.0.0.1',
222
222
  port: int = 1024,
223
223
  app: str | None = None,
224
+ factory: bool = False,
224
225
  workers: int = 1
225
226
  ) -> None:
226
227
  """
@@ -232,6 +233,7 @@ class Server(ServerBase, Singleton):
232
233
  port: Server port.
233
234
  app : Application path, format is `Module[.Sub....]:Variable[.Attributre....]` (e.g. `module.sub:server.app`).
234
235
  - `None`: Cannot use parameter `workers`.
236
+ factory : Whether parameter `app` is factory function.
235
237
  workers: Number of server work processes.
236
238
 
237
239
  Examples
@@ -259,7 +261,7 @@ class Server(ServerBase, Singleton):
259
261
  workers=workers,
260
262
  ssl_certfile=self.ssl_cert,
261
263
  ssl_keyfile=self.ssl_key,
262
- # factory=True
264
+ factory=factory
263
265
  )
264
266
 
265
267
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: reyserver
3
- Version: 1.1.63
3
+ Version: 1.1.64
4
4
  Summary: Backend server method set.
5
5
  Project-URL: homepage, https://github.com/reyxbo/reyserver/
6
6
  Author-email: Rey <reyxbo@163.com>
@@ -4,8 +4,8 @@ reyserver/rauth.py,sha256=JGo5lLTRGoP1SFPyQA-Q5EE-O3OU_86Mb3pvwhvFu-w,15125
4
4
  reyserver/rbase.py,sha256=0ECJ1zuUpJhwaNc0u5GvR5VyGxIAnKQep-EdotwnLoE,7752
5
5
  reyserver/rclient.py,sha256=og5YuWm-PODkFn9njBwYQpGlk0j1BfqFuEarlCFSQYI,6229
6
6
  reyserver/rfile.py,sha256=6H5_7B9aiA3F56VToQDI9Trarkrl9gcIuFqYyCVCiCU,8877
7
- reyserver/rserver.py,sha256=sSFoWTnsSRBJ9SZT5i6yzMzDnwg0_YFbSUI7e_8QfiA,10465
8
- reyserver-1.1.63.dist-info/METADATA,sha256=de-VXiY3vj5atn-pdBUX0zz6FFg_7hWVJV_JEABCnTw,1666
9
- reyserver-1.1.63.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
10
- reyserver-1.1.63.dist-info/licenses/LICENSE,sha256=UYLPqp7BvPiH8yEZduJqmmyEl6hlM3lKrFIefiD4rvk,1059
11
- reyserver-1.1.63.dist-info/RECORD,,
7
+ reyserver/rserver.py,sha256=fCuf8pDBM2ZdAOlXPzlFcNf63zUGjoTY3VKLoXjNqpo,10562
8
+ reyserver-1.1.64.dist-info/METADATA,sha256=WhmSK0M15RiZXyO2e8fxsvScBmkfcZXOKBi24u-Hodo,1666
9
+ reyserver-1.1.64.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
10
+ reyserver-1.1.64.dist-info/licenses/LICENSE,sha256=UYLPqp7BvPiH8yEZduJqmmyEl6hlM3lKrFIefiD4rvk,1059
11
+ reyserver-1.1.64.dist-info/RECORD,,