Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
ARSnova Backend
Manage
Activity
Members
Labels
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Privacy
Imprint
Contact
Snippets
Groups
Projects
Show more breadcrumbs
Paul-Christian Volkmer
ARSnova Backend
Commits
b25e976a
There was an error fetching the commit references. Please try again later.
Commit
b25e976a
authored
9 years ago
by
Daniel Gerhardt
Browse files
Options
Downloads
Patches
Plain Diff
Use correct key to evict cache entry on NewAnswerEvent
parent
04339da0
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/main/java/de/thm/arsnova/cache/CacheBuster.java
+1
-1
1 addition, 1 deletion
src/main/java/de/thm/arsnova/cache/CacheBuster.java
with
1 addition
and
1 deletion
src/main/java/de/thm/arsnova/cache/CacheBuster.java
+
1
−
1
View file @
b25e976a
...
...
@@ -80,7 +80,7 @@ public class CacheBuster implements ICacheBuster, NovaEventVisitor {
@Override
public
void
visit
(
LockQuestionsEvent
lockQuestionsEvent
)
{}
@CacheEvict
(
value
=
"answers"
,
key
=
"#event.
S
es
s
ion"
)
@CacheEvict
(
value
=
"answers"
,
key
=
"#event.
Qu
es
t
ion"
)
@Override
public
void
visit
(
NewAnswerEvent
event
)
{}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
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