1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-09-19 16:58:48 +02:00

Add a note suggesting restarting daemons for feed.http-hooks

Summary:
I was trying to set up a http hook, but despite setting the config,
the endpoint wasn't getting a request. I was advised on IRC by balpert to
restart my daemons and it worked great after I did that.

Since this information isn't in the documentation, I am adding it to the
description of the option, so it helps the next person.

Test Plan: N/A

Reviewers: #blessed_reviewers, epriestley

Reviewed By: epriestley

CC: Korvin, epriestley, aran, spicyj

Differential Revision: https://secure.phabricator.com/D8447
This commit is contained in:
Anirudh Sanjeev 2014-03-08 06:37:16 -08:00 committed by epriestley
parent 314edcabbb
commit 44b41a94ae
2 changed files with 4 additions and 2 deletions

View file

@ -941,7 +941,8 @@ return array(
// task will be created for each uri that posts the story data to the uri. // task will be created for each uri that posts the story data to the uri.
// Daemons automagically retry failures 100 times, waiting $fail_count * 60s // Daemons automagically retry failures 100 times, waiting $fail_count * 60s
// between each subsequent failure. Be sure to keep the daemon console // between each subsequent failure. Be sure to keep the daemon console
// (/daemon/) open while developing and testing your end points. // (/daemon/) open while developing and testing your end points. You may need
// to restart your daemons to start sending http requests.
// //
// NOTE: URIs are not validated, the URI must return http status 200 within // NOTE: URIs are not validated, the URI must return http status 200 within
// 30 seconds, and no permission checks are performed. // 30 seconds, and no permission checks are performed.

View file

@ -38,7 +38,8 @@ final class PhabricatorFeedConfigOptions
"story data to the uri. Daemons automagically retry failures 100 ". "story data to the uri. Daemons automagically retry failures 100 ".
"times, waiting \$fail_count * 60s between each subsequent ". "times, waiting \$fail_count * 60s between each subsequent ".
"failure. Be sure to keep the daemon console (/daemon/) open ". "failure. Be sure to keep the daemon console (/daemon/) open ".
"while developing and testing your end points.\n\n". "while developing and testing your end points. You may need to".
"restart your daemons to start sending http requests.\n\n".
"NOTE: URIs are not validated, the URI must return http status ". "NOTE: URIs are not validated, the URI must return http status ".
"200 within 30 seconds, and no permission checks are performed.")), "200 within 30 seconds, and no permission checks are performed.")),
); );