mirror of
https://github.com/zedeus/nitter
synced 2026-09-05 22:59:31 +00:00
Add server config file
This commit is contained in:
parent
b10d894a11
commit
6a9d182249
8 changed files with 53 additions and 23 deletions
|
|
@ -26,3 +26,6 @@ proc getCachedProfile*(username: string; force=false): Future[Profile] {.async.}
|
|||
result = await getProfile(username)
|
||||
if result.username.len > 0:
|
||||
result.insert()
|
||||
|
||||
proc setProfileCacheTime*(minutes: int) =
|
||||
profileCacheTime = initDuration(minutes=minutes)
|
||||
|
|
|
|||
Loading…
Reference in a new issue