Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
AlekSIS-App-DashboardFeeds
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
AlekSIS®
Official
AlekSIS-App-DashboardFeeds
Commits
1ae01359
Commit
1ae01359
authored
3 years ago
by
Hangzhi Yu
Browse files
Options
Downloads
Patches
Plain Diff
Increase calendar cache time to one hour
parent
b1ea9ce0
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!55
Resolve "Cache iCal data"
Pipeline
#17991
passed
3 years ago
Stage: test
Stage: build
Stage: publish
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
aleksis/apps/dashboardfeeds/util/event_feed.py
+1
-1
1 addition, 1 deletion
aleksis/apps/dashboardfeeds/util/event_feed.py
with
1 addition
and
1 deletion
aleksis/apps/dashboardfeeds/util/event_feed.py
+
1
−
1
View file @
1ae01359
...
...
@@ -68,7 +68,7 @@ def get_current_events(calendar: Calendar, limit: int = 5) -> list:
return
events
@cache_memoize
(
300
)
@cache_memoize
(
3
6
00
)
def
get_current_events_with_cal
(
calendar_url
:
str
,
limit
:
int
=
5
)
->
list
:
"""
Get current events.
...
...
This diff is collapsed.
Click to expand it.
Hangzhi Yu
@yuha
mentioned in commit
9407cda5
·
3 years ago
mentioned in commit
9407cda5
mentioned in commit 9407cda5f1021fefdfe42f3c3cfb0a8acd201d86
Toggle commit list
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment