allow ps_to_http to accept a secondary pubsub url #67

merged 1 commit into from Jun 29, 2012


None yet

2 participants


No description provided.


ready for review @mreiferson @jehiah


@sricola - have you verified this works as intended? This is segfaulting for me.

I tested by:

  1. running this command: ./ps_to_http --pubsub-url= --secondary-pubsub-url= --destination-get-url=
  2. killing the pubsub on 8090
@mreiferson mreiferson commented on an outdated diff Jun 29, 2012
char *address;
int port;
char *path;
option_define_bool("version", OPT_OPTIONAL, 0, NULL, version_cb, VERSION);
option_define_str("pubsub_url", OPT_REQUIRED, "", &pubsub_url, NULL, "url of pubsub to read from");
+ option_define_str("secondary_pubsub_url", OPT_OPTIONAL, "", &secondary_pubsub_url, NULL, "url of pubsub to read from");
mreiferson Jun 29, 2012

i actually dont think we want to specify a default here


this should work

squash plz


ready for merge @mreiferson

@mreiferson mreiferson merged commit 647f67d into bitly:master Jun 29, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment