Closed Shique closed 5 years ago
Fairly certain this was fixed with #201. If you look at https://github.com/istresearch/scrapy-cluster/blob/dev/rest/rest_service.py there is no mention of the MethodTimer decorator anymore.
Can you double check the docker container is up to date by doing a pull
? otherwise I will check if the containers we unable to be pushed up to dockerhub on the build when that was merged in.
I suspected that may have been it. The image I have cached has not been pulled.
Rest API /feed endpoint throws the following error when called with a request to schedule a crawl.
I am using the latest
dev
branch with no alterations running inside Docker.The problem seems to stem from the following line in
rest/rest_service.py
. Removing it eliminates the problem, but I don't know what other effects it has or why it's there for.@MethodTimer.timeout(self.settings['KAFKA_FEED_TIMEOUT'], False)
Is this a problem from the crawler or maybe something to do with Docker?