Page MenuHomePhabricator

Add "--background" and "--count" flags to "bin/webhook call"
ClosedPublic

Authored by epriestley on Jun 26 2020, 12:49 AM.
Tags
None
Referenced Files
F15454923: D21368.id50857.diff
Sat, Mar 29, 9:18 PM
F15449727: D21368.id.diff
Fri, Mar 28, 11:52 AM
F15448286: D21368.id50859.diff
Fri, Mar 28, 3:54 AM
F15447373: D21368.id.diff
Thu, Mar 27, 11:24 PM
F15441114: D21368.diff
Wed, Mar 26, 4:28 PM
F15432512: D21368.diff
Mon, Mar 24, 6:24 PM
F15422305: D21368.diff
Sat, Mar 22, 7:07 AM
F15397665: D21368.id50857.diff
Sun, Mar 16, 9:38 PM
Subscribers
None

Details

Summary

See PHI1794, which reports an issue where a large number of queued webhook calls led to connection exhaustion. To make this easier to reproduce and test, add "--count" and "--background" flags to "bin/webhook call".

This primarily supports "bin/webook call ... --background --count 10000" to quickly fill the queue with a bunch of calls.

Test Plan

Ran bin/webhook call in foreground and background modes, with and without counts. Saw appropriate console and queue behavior.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable