Skip to content

Help us understand the additional delay in DEADLINE_EXCEEDED error #11956

@antonmithun-work

Description

@antonmithun-work

I am setting the deadline for my gRPC call as 5ms using the following code:

stub.withDeadlineAfter(5L, TimeUnit.MILLISECONDS) .doSomething();

However, I am receiving a DEADLINE_EXCEEDED error message with the following details:

DEADLINE_EXCEEDED: ClientCall started after CallOptions deadline was exceeded. Deadline has been exceeded for 0.012145204s.

The error message indicates that the deadline was exceeded by approximately 12ms, which is longer than the specified 5ms.

What could be causing this additional delay ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions