Axuda de The Movie Database

Hi Travis,

Ok, so I fixed the slow processing and now its going too fast and hitting the limits.

I can see the below values ok however can you clarify the reset value

X-RateLimit-Limit X-RateLimit-Remaining X-RateLimit-Reset

The number I get from the X-RateLimit-Reset when X-RateLimit-Remaining is 0 is 1449428071

What is this, is this the total time in seconds , milliseconds etc I must wait before I can start making requests again?

this is a rather large number and even in milliseconds would come to quite a long time

3 respostas (na páxina 1 de 1)

Jump to last post

Thank you for the info, its funny that I heard only a few days ago that unix servers have a beginning of time as 1970 and here I am hearing it again today lol

I'm new to api limits and I'm trying to find a means of handling the limits in c#

can seem to find any examples on best approach on the net :(

I have resolved this issue for now,

I put a small 2.5 millisecond delay into the calls and it never hits the limit, just process 1107 movies in 32 mins, at this point I don't know it this is good because ive no other bench marks to compare against however its a very significant increase from the sequential means of processing a collection.

:)

Thank you, this is exactly what I need. I don't like the delay because its not reliable.

:)

Non podes atopar unha película ou serie? Inicia sesión para creala.

Global

s amosar a barra de procura
p abrir menú do perfil
esc pechar e abrir xanela
? abrir xanela de atallos do teclado

En páxinas de medios

b atrás (ou á principal se aplica)
e ir a editar páxina

En páxinas de tempadas de televisión

(flecha dereita) ir á tempada seguinte
(flecha esquerda) ir á tempada anterior

En páxinas de episodios de televisión

(flecha dereita) ir ao episodio seguinte
(flecha esquerda) ir ao episodio anterior

En todas as páxinas de imaxe

a abrir a xanela de engadir imaxe

En todas as páxinas de edición

t abrir selector de traducións
ctrl+ s enviar formulario

Nas páxinas de debate

n crear un novo debate
w amosar o estado do seguimento
p mudar público/privado
c mudar abrir/pechar
a abrir actividade
r responder no debate
l ir á última resposta
ctrl+ enter eviar a túa mensaxe
(flecha dereita) páxina seguinte
(flecha esquerda) ir á páxina anterior

Configuración

Queres valorar ou engadir o elemento a unha listaxe?

Iniciar sesión