Repository navigation
Commit d4b9065
committed
LCORE-4606: document the period format of the SQLite quota backend
The description of a limiter period points to the PostgreSQL interval
syntax only. The SQLite storage takes the period as a modifier of the
SQLite function datetime(), which accepts less: "7 days" works and
"1 week" does not.
The QuotaLimiterConfiguration docstring now says so in one sentence.
The checked-in documents that carry the docstring get the same
sentence. docs/devel_doc/openapi.json and
docs/models/successful_responses.{json,md} are rebuilt by their
make targets. docs/devel_doc/openapi.md, the three docs/user_doc/config
files and the schema example in test_models_dumper.py are edited by
hand, as no make target writes them.
Checked: the description in the three JSON documents equals the one in
the model schema, the Markdown documents contain it verbatim and the
HTML matches its pandoc rendering.1 parent d830644 commit d4b9065
9 files changed
Lines changed: 20 additions & 9 deletions
File tree
- docs
- devel_doc
- models
- user_doc
- src/models
- tests/unit/utils/dumpers
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19416 | 19416 | | |
19417 | 19417 | | |
19418 | 19418 | | |
19419 | | - | |
| 19419 | + | |
19420 | 19420 | | |
19421 | 19421 | | |
19422 | 19422 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8056 | 8056 | | |
8057 | 8057 | | |
8058 | 8058 | | |
8059 | | - | |
| 8059 | + | |
| 8060 | + | |
| 8061 | + | |
8060 | 8062 | | |
8061 | 8063 | | |
8062 | 8064 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4756 | 4756 | | |
4757 | 4757 | | |
4758 | 4758 | | |
4759 | | - | |
| 4759 | + | |
4760 | 4760 | | |
4761 | 4761 | | |
4762 | 4762 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2059 | 2059 | | |
2060 | 2060 | | |
2061 | 2061 | | |
2062 | | - | |
| 2062 | + | |
| 2063 | + | |
| 2064 | + | |
2063 | 2065 | | |
2064 | 2066 | | |
2065 | 2067 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1886 | 1886 | | |
1887 | 1887 | | |
1888 | 1888 | | |
1889 | | - | |
| 1889 | + | |
| 1890 | + | |
| 1891 | + | |
| 1892 | + | |
1890 | 1893 | | |
1891 | 1894 | | |
1892 | 1895 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1645 | 1645 | | |
1646 | 1646 | | |
1647 | 1647 | | |
1648 | | - | |
| 1648 | + | |
1649 | 1649 | | |
1650 | 1650 | | |
1651 | 1651 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
723 | 723 | | |
724 | 724 | | |
725 | 725 | | |
726 | | - | |
| 726 | + | |
| 727 | + | |
| 728 | + | |
727 | 729 | | |
728 | 730 | | |
729 | 731 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2488 | 2488 | | |
2489 | 2489 | | |
2490 | 2490 | | |
2491 | | - | |
| 2491 | + | |
| 2492 | + | |
| 2493 | + | |
2492 | 2494 | | |
2493 | 2495 | | |
2494 | 2496 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6168 | 6168 | | |
6169 | 6169 | | |
6170 | 6170 | | |
6171 | | - | |
| 6171 | + | |
6172 | 6172 | | |
6173 | 6173 | | |
6174 | 6174 | | |
| |||
0 commit comments