mirror of
https://github.com/chatmail/core.git
synced 2026-04-18 05:56:31 +03:00
cleanup jobs and Params relicts
- the `jobs` table is no longer in use, no need to track files on housekeeping, no need to clear it from repl tool - some `Params` were used for jobs table only, they can be used freely for other purposes on other tables. param 'protection settings timestamp' was never used in practise, its code is removed as well, so we can free the Param as well.
This commit is contained in:
@@ -806,13 +806,6 @@ pub async fn remove_unused_files(context: &Context) -> Result<()> {
|
||||
Param::File,
|
||||
)
|
||||
.await?;
|
||||
maybe_add_from_param(
|
||||
&context.sql,
|
||||
&mut files_in_use,
|
||||
"SELECT param FROM jobs;",
|
||||
Param::File,
|
||||
)
|
||||
.await?;
|
||||
maybe_add_from_param(
|
||||
&context.sql,
|
||||
&mut files_in_use,
|
||||
|
||||
Reference in New Issue
Block a user