Commit 99ec5f0
committed
expire the canvas assignment cache after 15 minutes
fixes TALLY-501
test plan:
- setup rollcall and take attendance (make sure redis is set up)
- on the canvas side, delete the attendance assignment
- take attendance again and notice that it doesn't work
- wait 15 minutes
- take attendance again and notice that a new attendance assignment is
automatically created (note though that not all attendance scores
are automatically sent back to canvas, that needs to be dealt with in
a future update)
Change-Id: I1f01e6bd443950e8110fbaaa275f4e890c9b65c5
Reviewed-on: https://gerrit.instructure.com/c/rollcall-attendance/+/226139
Tested-by: Service Cloud Jenkins <[email protected]>
Reviewed-by: Keith Garner <[email protected]>
QA-Review: Robin Kuss <[email protected]>
Product-Review: Simon Williams <[email protected]>1 parent 44a9c53 commit 99ec5f0
File tree
2 files changed
+9
-4
lines changed- app/models
- spec/extras
2 files changed
+9
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
| 40 | + | |
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| |||
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
87 | | - | |
| 87 | + | |
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
| |||
135 | 135 | | |
136 | 136 | | |
137 | 137 | | |
138 | | - | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
139 | 144 | | |
140 | 145 | | |
141 | 146 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
207 | 207 | | |
208 | 208 | | |
209 | 209 | | |
210 | | - | |
| 210 | + | |
211 | 211 | | |
212 | 212 | | |
213 | 213 | | |
| |||
0 commit comments