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
F19800912: D21368.id50857.diff
Feb 28 2026, 7:22 PM
F19774715: D21368.diff
Feb 21 2026, 6:46 PM
F19492641: D21368.id50859.diff
Jan 8 2026, 8:20 AM
F18810332: D21368.id.diff
Oct 19 2025, 9:05 PM
F18787666: D21368.id50859.diff
Oct 15 2025, 12:48 AM
F18768894: D21368.diff
Oct 8 2025, 5:47 AM
F18650182: D21368.diff
Sep 20 2025, 11:45 PM
F18650101: D21368.diff
Sep 20 2025, 11:29 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