I send many features into HTTPFetcher, before that, I have used Decelerator to slow down the speed of request. But if one request couldn't get response, FME will wait it all the time.
How solve this? Thanks
This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.
one possible solution: After the HTTPFetcher, check the "Status code variable" and "Error attribute" values supplied by the HTTPFetcher.
If they indicate an error (timeout), use a VariableSetter to indicate an error. Before the HTTPFetcher, insert a VariableRetriever and a Tester to stop sending features to it if the error variable has been set.
If one feature cann't get the response, what ever how long it past, FME just keeps waiting. features remained won't be passed untill it get the result.
So what I need is just the timeout setting and let the workflow keeps going.
I'm not quite sure I understand. Does the HTTPFetcher hang indefinitely when there is not response? It should stop with a timeout exception after some time.
On Windows, there is a system-wide timeout setting, usually between 30-60 seconds, which I believe FME uses. Take a look at the Microsoft Knowledge Base article here to locate and modify this setting.