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)
Thu, Apr 25, 12:56 AM
Unknown Object (File)
Fri, Apr 19, 8:18 PM
Unknown Object (File)
Thu, Apr 11, 8:42 AM
Unknown Object (File)
Mon, Apr 1, 6:10 AM
Unknown Object (File)
Sat, Mar 30, 3:21 PM
Unknown Object (File)
Thu, Mar 28, 5:43 AM
Unknown Object (File)
Mar 26 2024, 4:44 PM
Unknown Object (File)
Feb 21 2024, 8:20 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
Branch
webhook1
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 24676
Build 34029: Run Core Tests
Build 34028: arc lint + arc unit