A generic pool to track a set of remote hosts with the ability to mark hosts down on failures
Project description
A generic interface to track a list of remote hosts to allow auto-backoff from a failed remote host.
- pool = host_pool.HostPool([‘servera’,’serverb’])
endpoint = pool.get() pool.success(endpoint) endpoint = pool.get() pool.failed(endpoint)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
host_pool-0.2.tar.gz
(2.4 kB
view details)
File details
Details for the file host_pool-0.2.tar.gz
.
File metadata
- Download URL: host_pool-0.2.tar.gz
- Upload date:
- Size: 2.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 65dd6d8e64da861a7ddc3628e3e010a5d4a7fedb5c6df6a9f574d171d5287165 |
|
MD5 | fe5c0ccb182cde7d42d3987c4e56e871 |
|
BLAKE2b-256 | eebe04daa3c08c284a261489e50300af20c183534b621851ec7f28aa0c55dc03 |