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
F15569258: D21368.id.diff
Sat, May 3, 6:28 PM
F15562625: D21368.id50859.diff
Wed, Apr 30, 3:30 AM
F15556188: D21368.diff
Mon, Apr 28, 3:05 PM
F15538575: D21368.id50859.diff
Thu, Apr 24, 8:06 PM
F15454923: D21368.id50857.diff
Mar 29 2025, 9:18 PM
F15449727: D21368.id.diff
Mar 28 2025, 11:52 AM
F15448286: D21368.id50859.diff
Mar 28 2025, 3:54 AM
F15447373: D21368.id.diff
Mar 27 2025, 11:24 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