Our Redmine instance OOMed and restarted a little while ago, but at the
time was serving many API requests from a Python client at
nat-pool-rdu-t.redhat.com. It appears to make a hundreds of requests
every two hours,
If this yours, please slow it down significantly to reduce load on the
site and/or rewrite to use the issue lists or activity feeds instead of
polling (
http://projects.theforeman.org/projects/foreman/activity).
···
--
Dominic Cleal
dominic@cleal.org
I have turned down the frequency to try and avoid this. The activity
resource does not have an api that I can find. I will play along with
queries to see if I can replicate it.
– bk
···
On 02/01/2016 02:19 AM, Dominic Cleal wrote:
> Our Redmine instance OOMed and restarted a little while ago, but at the
> time was serving many API requests from a Python client at
> nat-pool-rdu-t.redhat.com. It appears to make a hundreds of requests
> every two hours,
>
> If this yours, please slow it down significantly to reduce load on the
> site and/or rewrite to use the issue lists or activity feeds instead of
> polling (http://projects.theforeman.org/projects/foreman/activity).
>
It may not have an API/JSON response, but it does expose an Atom feed
(add .atom) which would link to updated issues or commits, if it's
changes you're trying to identify. Indexes may also expose a timestamp
when issues are updated.
···
On 01/02/16 11:06, Bryan Kearney wrote:
>
> On 02/01/2016 02:19 AM, Dominic Cleal wrote:
>> Our Redmine instance OOMed and restarted a little while ago, but at the
>> time was serving many API requests from a Python client at
>> nat-pool-rdu-t.redhat.com. It appears to make a hundreds of requests
>> every two hours,
>>
>> If this yours, please slow it down significantly to reduce load on the
>> site and/or rewrite to use the issue lists or activity feeds instead of
>> polling (http://projects.theforeman.org/projects/foreman/activity).
>>
> I have turned down the frequency to try and avoid this. The activity
> resource does not have an api that I can find. I will play along with
> queries to see if I can replicate it.
–
Dominic Cleal
dominic@cleal.org