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
Unknown Object (File)
Tue, Jun 3, 3:01 PM
Unknown Object (File)
May 3 2025, 6:28 PM
Unknown Object (File)
Apr 30 2025, 3:30 AM
Unknown Object (File)
Apr 28 2025, 3:05 PM
Unknown Object (File)
Apr 24 2025, 8:06 PM
Unknown Object (File)
Mar 29 2025, 9:18 PM
Unknown Object (File)
Mar 28 2025, 11:52 AM
Unknown Object (File)
Mar 28 2025, 3:54 AM
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