Add a TODO

This commit is contained in:
Jeremy Dormitzer 2019-02-01 10:23:25 -05:00
parent 3044ec5e08
commit d320db41a5

View File

@ -54,6 +54,9 @@ class ActivityPubModule
->setArguments( array( $dbParams, $dbConfig ) )
->setFactory( array( EntityManager::class, 'create' ) );
// TODO set a global timeout on the client, and add a middleware
// that ensures that the client will return null rather than throwing
// when it gets a timeout
$this->injector->register( Client::class, Client::class )
->addArgument( array( 'http_errors' => false ) );