Skip to content
This repository was archived by the owner on Jan 18, 2023. It is now read-only.

Conversation

@wfarr
Copy link

@wfarr wfarr commented Jul 14, 2016

On the path towards dynamic upstreams.

Heavily WIP. Do not merge.

cc @csfrancis

README.md Outdated
* [Functions](#functions)
* [get_upstreams](#get_upstreams)
* [get_servers](#get_servers)
* [add_server_to_upstream](#add_server_to_upstream)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd call them add_upstream_peer and remove_upstream_peer.

wfarr added 4 commits July 15, 2016 15:36
This is based heavily on the work in openresty#13
but involves slightly fewer changes to the module as a whole.
@wfarr wfarr force-pushed the add-and-remove-servers-from-upstreams branch from 47662c8 to c2f2863 Compare July 15, 2016 19:36
@wfarr
Copy link
Author

wfarr commented Jul 15, 2016

Tests run on Circle but there appears to be some race condition or double insert occurring that does not make sense to me right now. Will pick this back up again after the weekend.

time_t fail_timeout;
u_char *p;

if (lua_gettop(L) != 6) {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There should be some sane defaults here.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants