« Previous | Next » 

Revision 4331f6cd

ID4331f6cd8c356ab456cb3b99d8ae6481f51c632a
Parent 54d1a06e
Child 15486fa7

Added by Michael Hanselmann over 15 years ago

Reuse HTTP client pool for RPC

ganeti-masterd: Add initialization and shutdown of RPC pool. It needs
to be shutdown before forking.

ganeti.cli: Add decorator function to initialize and shutdown RPC pool.

ganeti.rpc: Add functions to initialize and shutdown RPC pool. Throw
exception when used without proper initialization.

gnt-cluster, gnt-node: Use decorator function to initialize and shutdown
RPC pool.

Reviewed-by: iustinp

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences