Commit 75d361b
committed
policies.py: Remove max reconnect attempts
This was kept this way to preserve legacy behavior, but I think changing
the behavior will be less of a problem than what the current behavior
causes.
The policy is used for reconnections (for example, reconnecting control
connection). If reconnect policy finishes generation (it will do so
after 64 attempts before my change), then the reconnector finish and the
driver won't attempt reconnection anymore. This would be a terrible
situation.1 parent d83adab commit 75d361b
1 file changed
Lines changed: 2 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
773 | 773 | | |
774 | 774 | | |
775 | 775 | | |
776 | | - | |
| 776 | + | |
777 | 777 | | |
778 | 778 | | |
779 | 779 | | |
| |||
807 | 807 | | |
808 | 808 | | |
809 | 809 | | |
810 | | - | |
811 | | - | |
812 | | - | |
813 | | - | |
| 810 | + | |
814 | 811 | | |
815 | 812 | | |
816 | 813 | | |
| |||
0 commit comments