Skip to content

Minor adjusts on server - #151

Merged
oseasandrepro merged 4 commits into
release-v5.0.1from
minor-adjusts-on-server
Sep 11, 2026
Merged

oseasandrepro merged 4 commits into
release-v5.0.1from
minor-adjusts-on-server

Conversation

@oseasandrepro

Copy link
Copy Markdown
Owner

refactor: adjust tests
refactor: remove bloking action from server start method
refactor: load cert and key files for ssl context just once

Now the server side script should be like this:

import time
from srpc_calc_server_stub import SrpcCalcServerStub

srpc_server = SrpcCalcServerStub()
srpc_server.start()

try:
   # Mantém a thread principal viva apenas esperando o Ctrl+C
   while True:
       time.sleep(1)
except KeyboardInterrupt:
   srpc_server.stop()

@oseasandrepro
oseasandrepro merged commit d28f80f into release-v5.0.1 Sep 11, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant