Skip to content

Commit 0dbc936

Browse files
committed
move from code blocks to comments to be prettier compliant
1 parent 68cad57 commit 0dbc936

File tree

4 files changed

+44
-60
lines changed

4 files changed

+44
-60
lines changed

docs/developers/applications/caching.md

Lines changed: 11 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -38,28 +38,24 @@ You can provide a single expiration and it defines the behavior for all three. Y
3838

3939
`expiration` = 1 hour with default `scanInterval` (15 minutes, one quarter of `expiration`). This creates the following fixed eviction schedule:
4040

41-
```
42-
00:00
43-
00:15
44-
00:30
45-
00:45
46-
01:00
47-
... continuing every 15 minutes ...
48-
```
41+
> 00:00
42+
> 00:15
43+
> 00:30
44+
> 00:45
45+
> 01:00
46+
> ... continuing every 15 minutes ...
4947

5048
If the server starts at 12:05 it does not run eviction at 12:20 or “15 minutes after startup.” Instead, the next scheduled anchor is 12:15, then 12:30, 12:45, 13:00, etc. The schedule is clock-aligned, not startup-aligned.
5149

5250
#### Example: 1-Day Expiration
5351

5452
`expiration` = 1 day with default `scanInterval` (6 hours, one quarter of `expiration`). This creates the following fixed eviction schedule:
5553

56-
```
57-
00:00
58-
06:00
59-
12:00
60-
18:00
61-
... continuing every 6 hours ...
62-
```
54+
> 00:00
55+
> 06:00
56+
> 12:00
57+
> 18:00
58+
> ... continuing every 6 hours ...
6359

6460
If the server starts at 12:05 the next matching eviction time is 18:00 the same day, then 00:00, 06:00, 12:00, 18:00, etc. If the server starts at 19:30 the schedule does not shift. Instead, the next anchor time is 00:00, and the regular 6-hour cycle continues.
6561

versioned_docs/version-4.5/developers/applications/caching.md

Lines changed: 11 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -38,28 +38,24 @@ You can provide a single expiration and it defines the behavior for all three. Y
3838

3939
`expiration` = 1 hour with default `scanInterval` (15 minutes, one quarter of `expiration`). This creates the following fixed eviction schedule:
4040

41-
```
42-
00:00
43-
00:15
44-
00:30
45-
00:45
46-
01:00
47-
... continuing every 15 minutes ...
48-
```
41+
> 00:00
42+
> 00:15
43+
> 00:30
44+
> 00:45
45+
> 01:00
46+
> ... continuing every 15 minutes ...
4947

5048
If the server starts at 12:05 it does not run eviction at 12:20 or “15 minutes after startup.” Instead, the next scheduled anchor is 12:15, then 12:30, 12:45, 13:00, etc. The schedule is clock-aligned, not startup-aligned.
5149

5250
#### Example: 1-Day Expiration
5351

5452
`expiration` = 1 day with default `scanInterval` (6 hours, one quarter of `expiration`). This creates the following fixed eviction schedule:
5553

56-
```
57-
00:00
58-
06:00
59-
12:00
60-
18:00
61-
... continuing every 6 hours ...
62-
```
54+
> 00:00
55+
> 06:00
56+
> 12:00
57+
> 18:00
58+
> ... continuing every 6 hours ...
6359

6460
If the server starts at 12:05 the next matching eviction time is 18:00 the same day, then 00:00, 06:00, 12:00, 18:00, etc. If the server starts at 19:30 the schedule does not shift. Instead, the next anchor time is 00:00, and the regular 6-hour cycle continues.
6561

versioned_docs/version-4.6/developers/applications/caching.md

Lines changed: 11 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -38,28 +38,24 @@ You can provide a single expiration and it defines the behavior for all three. Y
3838

3939
`expiration` = 1 hour with default `scanInterval` (15 minutes, one quarter of `expiration`). This creates the following fixed eviction schedule:
4040

41-
```
42-
00:00
43-
00:15
44-
00:30
45-
00:45
46-
01:00
47-
... continuing every 15 minutes ...
48-
```
41+
> 00:00
42+
> 00:15
43+
> 00:30
44+
> 00:45
45+
> 01:00
46+
> ... continuing every 15 minutes ...
4947

5048
If the server starts at 12:05 it does not run eviction at 12:20 or “15 minutes after startup.” Instead, the next scheduled anchor is 12:15, then 12:30, 12:45, 13:00, etc. The schedule is clock-aligned, not startup-aligned.
5149

5250
#### Example: 1-Day Expiration
5351

5452
`expiration` = 1 day with default `scanInterval` (6 hours, one quarter of `expiration`). This creates the following fixed eviction schedule:
5553

56-
```
57-
00:00
58-
06:00
59-
12:00
60-
18:00
61-
... continuing every 6 hours ...
62-
```
54+
> 00:00
55+
> 06:00
56+
> 12:00
57+
> 18:00
58+
> ... continuing every 6 hours ...
6359

6460
If the server starts at 12:05 the next matching eviction time is 18:00 the same day, then 00:00, 06:00, 12:00, 18:00, etc. If the server starts at 19:30 the schedule does not shift. Instead, the next anchor time is 00:00, and the regular 6-hour cycle continues.
6561

versioned_docs/version-4.7/developers/applications/caching.md

Lines changed: 11 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -38,28 +38,24 @@ You can provide a single expiration and it defines the behavior for all three. Y
3838

3939
`expiration` = 1 hour with default `scanInterval` (15 minutes, one quarter of `expiration`). This creates the following fixed eviction schedule:
4040

41-
```
42-
00:00
43-
00:15
44-
00:30
45-
00:45
46-
01:00
47-
... continuing every 15 minutes ...
48-
```
41+
> 00:00
42+
> 00:15
43+
> 00:30
44+
> 00:45
45+
> 01:00
46+
> ... continuing every 15 minutes ...
4947

5048
If the server starts at 12:05 it does not run eviction at 12:20 or “15 minutes after startup.” Instead, the next scheduled anchor is 12:15, then 12:30, 12:45, 13:00, etc. The schedule is clock-aligned, not startup-aligned.
5149

5250
#### Example: 1-Day Expiration
5351

5452
`expiration` = 1 day with default `scanInterval` (6 hours, one quarter of `expiration`). This creates the following fixed eviction schedule:
5553

56-
```
57-
00:00
58-
06:00
59-
12:00
60-
18:00
61-
... continuing every 6 hours ...
62-
```
54+
> 00:00
55+
> 06:00
56+
> 12:00
57+
> 18:00
58+
> ... continuing every 6 hours ...
6359

6460
If the server starts at 12:05 the next matching eviction time is 18:00 the same day, then 00:00, 06:00, 12:00, 18:00, etc. If the server starts at 19:30 the schedule does not shift. Instead, the next anchor time is 00:00, and the regular 6-hour cycle continues.
6561

0 commit comments

Comments
 (0)