ActivityWatch / ActivityWatch/aw-server-rust

Suggestion: Optimizing the Database

Đang mở
#487 2 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Rust
Star
315
Fork
96
Merge trung bình
2 ngày 21 giờ
Pull request đã merge (30 ngày)
14

Mô tả

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)

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.