1
0

Merge commit '75e3994c6e57c2d3353084188b21f706d844ffb3' into beta

This commit is contained in:
2025-10-19 06:55:17 +03:00
7 changed files with 130 additions and 8 deletions

View File

@@ -80,11 +80,12 @@ impl CacheValueType {
}
}
/// Returns the expiry time for entries of this type of cache item, in seconds.
pub fn expiry(&self) -> i64 {
match self {
CacheValueType::File => 60 * 60 * 24 * 30, // 30 days
CacheValueType::FileHash => 60 * 60 * 24 * 30, // 30 days
_ => 60 * 60 * 30, // 30 minutes
CacheValueType::File => 30 * 24 * 60 * 60, // 30 days
CacheValueType::FileHash => 30 * 24 * 60 * 60, // 30 days
_ => 30 * 60, // 30 minutes
}
}

View File

@@ -10,6 +10,20 @@ export type VersionEntry = {
}
const VERSIONS: VersionEntry[] = [
{
date: `2025-10-15T12:15:00-07:00`,
product: 'app',
version: '0.10.12',
body: `## Improvements
- Fixed cache sticking around for way too long (30 hours instead of 30 minutes).`,
},
{
date: `2025-10-15T04:11:00-07:00`,
product: 'app',
version: '0.10.11',
body: `## Improvements
- Fixed ads being able to play audio.`,
},
{
date: `2025-10-14T18:45:00-07:00`,
product: 'servers',