Skip to content

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

Open
@jhe2

Description

@jhe2

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

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