stopwatches endpoint should not be triggered when ENABLE_TIMETRACKING = false #6739

Closed
opened 2025-11-02 07:05:09 -06:00 by GiteaMirror · 1 comment
Owner

Originally created by @jpraet on GitHub (Jan 22, 2021).

Originally assigned to: @noerw on GitHub.

  • Gitea version: 1.14

Description

The /api/v1/user/stopwatches endpoint is queried every 10 seconds, even when ENABLE_TIMETRACKING = false in app.ini

2021/01/22 20:38:03 Started GET /api/v1/user/stopwatches for 127.0.0.1:52339
2021/01/22 20:38:03 Completed GET /api/v1/user/stopwatches 200 OK in 9.9781ms
2021/01/22 20:38:13 Started GET /api/v1/user/stopwatches for 127.0.0.1:52339
2021/01/22 20:38:13 Completed GET /api/v1/user/stopwatches 200 OK in 11.0478ms
2021/01/22 20:38:23 Started GET /api/v1/user/stopwatches for 127.0.0.1:52339
2021/01/22 20:38:24 Completed GET /api/v1/user/stopwatches 200 OK in 8.9847ms
2021/01/22 20:38:34 Started GET /api/v1/user/stopwatches for 127.0.0.1:52339
2021/01/22 20:38:34 Completed GET /api/v1/user/stopwatches 200 OK in 10.9856ms
2021/01/22 20:38:44 Started GET /api/v1/user/stopwatches for 127.0.0.1:52339
2021/01/22 20:38:44 Completed GET /api/v1/user/stopwatches 200 OK in 10.0009ms
2021/01/22 20:38:54 Started GET /api/v1/user/stopwatches for 127.0.0.1:52339
2021/01/22 20:38:54 Completed GET /api/v1/user/stopwatches 200 OK in 9.9988ms
2021/01/22 20:39:04 Started GET /api/v1/user/stopwatches for 127.0.0.1:52339
2021/01/22 20:39:04 Completed GET /api/v1/user/stopwatches 200 OK in 10.0026ms
2021/01/22 20:39:14 Started GET /api/v1/user/stopwatches for 127.0.0.1:52339
2021/01/22 20:39:14 Completed GET /api/v1/user/stopwatches 200 OK in 10.9982ms

Relates to #14122

Originally created by @jpraet on GitHub (Jan 22, 2021). Originally assigned to: @noerw on GitHub. - Gitea version: 1.14 ## Description The /api/v1/user/stopwatches endpoint is queried every 10 seconds, even when `ENABLE_TIMETRACKING = false` in app.ini ``` 2021/01/22 20:38:03 Started GET /api/v1/user/stopwatches for 127.0.0.1:52339 2021/01/22 20:38:03 Completed GET /api/v1/user/stopwatches 200 OK in 9.9781ms 2021/01/22 20:38:13 Started GET /api/v1/user/stopwatches for 127.0.0.1:52339 2021/01/22 20:38:13 Completed GET /api/v1/user/stopwatches 200 OK in 11.0478ms 2021/01/22 20:38:23 Started GET /api/v1/user/stopwatches for 127.0.0.1:52339 2021/01/22 20:38:24 Completed GET /api/v1/user/stopwatches 200 OK in 8.9847ms 2021/01/22 20:38:34 Started GET /api/v1/user/stopwatches for 127.0.0.1:52339 2021/01/22 20:38:34 Completed GET /api/v1/user/stopwatches 200 OK in 10.9856ms 2021/01/22 20:38:44 Started GET /api/v1/user/stopwatches for 127.0.0.1:52339 2021/01/22 20:38:44 Completed GET /api/v1/user/stopwatches 200 OK in 10.0009ms 2021/01/22 20:38:54 Started GET /api/v1/user/stopwatches for 127.0.0.1:52339 2021/01/22 20:38:54 Completed GET /api/v1/user/stopwatches 200 OK in 9.9988ms 2021/01/22 20:39:04 Started GET /api/v1/user/stopwatches for 127.0.0.1:52339 2021/01/22 20:39:04 Completed GET /api/v1/user/stopwatches 200 OK in 10.0026ms 2021/01/22 20:39:14 Started GET /api/v1/user/stopwatches for 127.0.0.1:52339 2021/01/22 20:39:14 Completed GET /api/v1/user/stopwatches 200 OK in 10.9982ms ``` Relates to #14122
GiteaMirror added the skip-changelogtype/bug labels 2025-11-02 07:05:09 -06:00
Author
Owner

@6543 commented on GitHub (Jan 22, 2021):

regression of #14122

@6543 commented on GitHub (Jan 22, 2021): regression of #14122
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#6739