Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lots of database writes once an act_runner is registered and running #33881

Open
jhe2 opened this issue Mar 14, 2025 · 0 comments
Open

Lots of database writes once an act_runner is registered and running #33881

jhe2 opened this issue Mar 14, 2025 · 0 comments
Labels
topic/gitea-actions related to the actions of Gitea type/bug

Comments

@jhe2
Copy link

jhe2 commented Mar 14, 2025

Description

As soon as there is an act_runner (v0.2.11) running (even if it is idle), there appears to be a constant flow of database updates.
As far as I can tell, this is due to the last_online field in the act_runner table being updated all the time.
By default this happens every two seconds for each act_runner. I would much prefer if there were no database writes while the runners are idle. I couldn't find a way to disable this behavior. It would be nice to have an option to disable this or possibly keep the last_online value in memory only instead of writing it to the database.

Thanks for the great work on Gitea!

Gitea Version

1.23.5

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

No response

Screenshots

No response

Git Version

2.48.1

Operating System

Alpine Linux (edge)

How are you running Gitea?

I'm using the Gitea package provided by Alpine Linux.

Database

SQLite

@jhe2 jhe2 added the type/bug label Mar 14, 2025
@kemzeb kemzeb added the topic/gitea-actions related to the actions of Gitea label Mar 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic/gitea-actions related to the actions of Gitea type/bug
Projects
None yet
Development

No branches or pull requests

2 participants