jina-ai / example-multimodal-fashion-search

Input text or image, get back matching image fashion results, using Jina, DocArray, and CLIP
Apache License 2.0
47 stars 12 forks source link

executors don't have the time to load when running docker compose #5

Open vincetrep opened 2 years ago

vincetrep commented 2 years ago

The executors don't have time to load as the docker containers are intialized within a docker compose execution.

These errors were occuring indexer@23[C]:can not load the executor from /root/.jina/hub-packages/pn1qofsj/config.yml backend-image_1 | indexer@23[E]:ExecutorFailToLoad() during <class 'jina.peapods.runtimes.zmq.zed.ZEDRuntime'> initialization

Flow@ 1[E]:Flow is aborted due to ['indexer'] can not be started.

Solution By adding timeout_ready= -1 to the flow_index executors, it fixed the issue. Should be part of the base example code base to avoid having this occurring for future users.

alexcg1 commented 2 years ago

Thanks for the suggestion - I'll sort that out. And sorry for the late reply!

jpzhangvincent commented 2 years ago

@vincetrep just curious, where do you specify "timeout_ready= -1" specifically in code?