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
F18110549: D21368.id50857.diff
Mon, Aug 11, 8:56 PM
F18108199: D21368.id50859.diff
Mon, Aug 11, 5:24 AM
F18106040: D21368.id.diff
Sun, Aug 10, 8:57 PM
F18102004: D21368.diff
Sat, Aug 9, 5:26 PM
F17757116: D21368.id.diff
Jul 22 2025, 3:38 PM
F17755882: D21368.id50859.diff
Jul 22 2025, 1:20 PM
F17740169: D21368.diff
Jul 21 2025, 5:01 AM
Unknown Object (File)
Jun 3 2025, 3:01 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