Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Delete servers over API but scheduler is still running #140

Closed
ghost opened this issue Apr 26, 2018 · 1 comment
Closed

Delete servers over API but scheduler is still running #140

ghost opened this issue Apr 26, 2018 · 1 comment
Assignees
Milestone

Comments

@ghost
Copy link

ghost commented Apr 26, 2018

My config .toml

[servers.EEz6WJtu_rotate]
max_connections = 0
client_idle_timeout = "0"
backend_idle_timeout = "0"
backend_connection_timeout = "0"
bind = "0.0.0.0:55001"
protocol = "tcp"
balance = "weight"
[servers.EEz6WJtu_rotate.discovery]
kind = "json"
failpolicy = "keeplast"
interval = "2m"
timeout = "10s"
json_endpoint = "http://127.0.0.1/pool/rotate/EEz6WJtu"
json_host_pattern = "host"
json_port_pattern = "port"
json_weight_pattern = "weight"
json_priority_pattern = "priority"
json_sni_pattern = "sni"
[servers.EEz6WJtu_rotate.healthcheck]
kind = "ping"
interval = "2s"
passes = 1
fails = 1
timeout = "1s"

There is log when delete

2018-04-26 00:32:05 [INFO ] (server.Listen): Stopping EEz6WJtu_random
2018-04-26 00:32:05 [INFO ] (scheduler): Stopping scheduler
2018-04-26 00:32:05 [ERROR] (server.Listen): accept tcp [::]:63004: use of closed network connection
> 2018-04-26 00:32:05 [INFO ] (server.Listen): Stopping EEz6WJtu_rotate
2018-04-26 00:32:05 [INFO ] (scheduler): Stopping scheduler
2018-04-26 00:32:05 [ERROR] (server.Listen): accept tcp [::]:55001: use of closed network connection
2018-04-26 00:33:22 [INFO ] (jsonFetch): fetching http://127.0.0.1/pool/rotate/EEz6WJtu
2018-04-26 00:33:22 [INFO ] (jsonFetch): []

jsonFetch still retrieves the data despite deleting the server

@yyyar yyyar added the bug label Jun 25, 2018
@yyyar yyyar added this to the 0.6.0 milestone Jun 25, 2018
@illarion illarion modified the milestones: 0.6.0, 0.7.0 Jul 14, 2018
@yyyar yyyar added the 🔥 label Jun 7, 2019
@yyyar
Copy link
Owner

yyyar commented Jun 9, 2019

Fixed, will be released as part of 0.8.0

@yyyar yyyar closed this as completed Jun 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants