Avoid whenComplete closure for timeout cancellation

Description

While this is a minor improvement, this change removes the need for a whenComplete callback and assigns the timeout registration on the request directly. This helps a tiny amount with less garbage, but since it is done on every request is a good small improvement.

Environment

None

Gerrit Reviews

None

Release Notes Description

None

Activity

Show:
Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Story Points

Components

Fix versions

Priority

Instabug

Open Instabug

PagerDuty

Sentry

Zendesk Support

Created November 12, 2021 at 4:53 PM
Updated January 14, 2022 at 10:06 AM
Resolved January 14, 2022 at 10:06 AM
Instabug