diff options
author | Matthias Beyer <matthias.beyer@atos.net> | 2021-04-12 13:53:03 +0200 |
---|---|---|
committer | Matthias Beyer <matthias.beyer@atos.net> | 2021-04-12 19:34:41 +0200 |
commit | 8706494827ad598d335a9369beecdd0ddfef0cee (patch) | |
tree | b6cdd12368f63806867879579913740c181bb624 /diesel.toml | |
parent | 8ba1fa438d00b7fb417aa15152e5e6dc93b3aba9 (diff) |
Shuffle endpoint configurations
As the comment in the code explains, we're always loading the endpoints from the
same file and feed it to the scheduler the same way.
Because of that, we always schedule to the first endpoint until it is full and
then to the second.
To have a bit more spreading over the endpoints, shuffle the configurations
before connecting, so this way the scheduler does not always (each time butido
is called) use the same endpoint as first endpoint.
This is not a perfect solution, but a simple and working one.
Signed-off-by: Matthias Beyer <matthias.beyer@atos.net>
Diffstat (limited to 'diesel.toml')
0 files changed, 0 insertions, 0 deletions