Search code examples
javaspring-boothystrix

What is default hystrix timeout?


I know that this is sounds strange, but I can't find the answer!

What timeout will be set for hystrix call by default if there is no any settings provided?

All questions about this are just that something doesn't work, etc.


Solution

  • If you ask about timeout settings for HystrixCommand then please check the source code, there are bunch of other interesting defaults there. Default execution timeout is 1sec:

    private static final Integer default_executionTimeoutInMilliseconds = 1000; // default => executionTimeoutInMilliseconds: 1000 = 1 second