ActivityWatch / ActivityWatch/aw-server-rust

Suggestion: Optimizing the Database

Open
#487 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
315
Forks
96
Avg merge
2d 21h
Merged PRs (30d)
14

Description

I think it would be beneficial if there was a feature, where after the day rolled over, the tiny events from the previous day would be cleared out. Often you would find events or window titles in the activity logs that were only there for a few seconds, clearing these out might help optimize the database size and also make it a bit less crowded. Maybe a config option for the minimum size of the event would be better?

Example of what I mean:
![image](https://github.com/ActivityWatch/aw-server-rust/assets/46123384/eba79b8d-784a-4333-9106-468b352ef8a1)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.