mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-29 00:01:21 +00:00
Use custom TMDB client
This commit is contained in:
+20
-3
@@ -1,12 +1,29 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @author Mark Redeman <markredeman@gmail.com>
|
||||
* @copyright (c) 2014, Mark Redeman
|
||||
* TMDB API Configuration
|
||||
*
|
||||
* This configuration is used by the custom TmdbClient service.
|
||||
*/
|
||||
return [
|
||||
/*
|
||||
* Api key
|
||||
* API key for The Movie Database (TMDB)
|
||||
* Get your key at: https://www.themoviedb.org/settings/api
|
||||
*/
|
||||
'api_key' => env('TMDB_APIKEY', ''),
|
||||
|
||||
/*
|
||||
* Request timeout in seconds
|
||||
*/
|
||||
'timeout' => env('TMDB_TIMEOUT', 30),
|
||||
|
||||
/*
|
||||
* Number of retry attempts for failed requests
|
||||
*/
|
||||
'retry_times' => env('TMDB_RETRY_TIMES', 3),
|
||||
|
||||
/*
|
||||
* Delay between retry attempts in milliseconds
|
||||
*/
|
||||
'retry_delay' => env('TMDB_RETRY_DELAY', 100),
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user