show fetch limit controls
This commit is contained in:
parent
af2845a15d
commit
b04084b074
@ -120,9 +120,11 @@ function initSubscriptionTable() {
|
|||||||
|
|
||||||
$("#subTable").on("change", ".sub-toggle-active", async function () {
|
$("#subTable").on("change", ".sub-toggle-active", async function () {
|
||||||
|
|
||||||
// Lock all toggles to soft-prevent spam.
|
/*
|
||||||
// There is a rate limit, but allowing the user to
|
Lock all toggles to soft-prevent spam.
|
||||||
// reach it from this toggle would be bad.
|
There is a rate limit, but allowing the user to
|
||||||
|
reach it from this toggle would be bad.
|
||||||
|
*/
|
||||||
$(".sub-toggle-active").prop("disabled", true);
|
$(".sub-toggle-active").prop("disabled", true);
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
@ -91,14 +91,14 @@
|
|||||||
<div class="form-text">Apply mutators to article descriptions.</div>
|
<div class="form-text">Apply mutators to article descriptions.</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-lg-6 pe-lg-4 d-none">
|
<div class="col-lg-6 pe-lg-4">
|
||||||
<div class="mb-4">
|
<div class="mb-4">
|
||||||
<label for="" class="form-label">Article Fetch Limit</label>
|
<label for="" class="form-label">Article Fetch Limit</label>
|
||||||
<input type="number" id="subFetchLimit" class="form-control rounded-1" max="10" min="1">
|
<input type="number" id="subFetchLimit" class="form-control rounded-1" max="10" min="1">
|
||||||
<div class="form-text">Limit the number of articles fetched every cycle.</div>
|
<div class="form-text">Limit the number of articles fetched every cycle.</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-lg-6 ps-lg-4 d-none">
|
<div class="col-lg-6 ps-lg-4">
|
||||||
<div class="form-switch ps-0 mb-4">
|
<div class="form-switch ps-0 mb-4">
|
||||||
<label for="subResetFetchLimit" class="form-check-label mb-2">Max Fetch Limit after the First Cycle</label>
|
<label for="subResetFetchLimit" class="form-check-label mb-2">Max Fetch Limit after the First Cycle</label>
|
||||||
<br>
|
<br>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user