Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/jellyfin/commit/3231c07ae1078d2dccd01278c86a64723005cff2
You should set ROOT_URL correctly, otherwise the web may not work correctly.
1 changed files with
15 additions and
2 deletions
@ -366,14 +366,27 @@ namespace MediaBrowser.Providers.Movies
return mainResult ;
}
private static long _lastRequestTicks ;
private static int requestIntervalMs = 100 ;
/// <summary>
/// Gets the movie db response.
/// </summary>
internal Task < Stream > GetMovieDbResponse ( HttpRequestOptions options )
internal async Task < Stream > GetMovieDbResponse ( HttpRequestOptions options )
{
var delayTicks = ( requestIntervalMs * 10000 ) - ( DateTime . UtcNow . Ticks - _lastRequestTicks ) ;
var delayMs = Math . Min ( delayTicks / 10000 , requestIntervalMs ) ;
if ( delayMs > 0 )
{
_logger . Debug ( "Throttling Tmdb by {0} ms" , delayMs ) ;
await Task . Delay ( Convert . ToInt32 ( delayMs ) ) . ConfigureAwait ( false ) ;
}
options . ResourcePool = MovieDbResourcePool ;
_lastRequestTicks = DateTime . UtcNow . Ticks ;
return _httpClient . Get ( options ) ;
return await _httpClient . Get ( options ) . ConfigureAwait ( false ) ;
}
public TheMovieDbOptions GetTheMovieDbOptions ( )