Check-in [a72e9e181d]
Not logged in

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Replicated the server load aveage limit on the robot-defenses configuration page.
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: a72e9e181dd79d3f92cf99b0fb207fae7131b1f9f27da0d180d1f26b04ea9fb3
User & Date: drh 2023-10-29 22:20:05.828
Context
2023-10-29
22:52
Update the built-in SQLite to the first 3.44.0 release candidate, for testing. check-in: e4d2c1d1fc user: drh tags: trunk
22:20
Replicated the server load aveage limit on the robot-defenses configuration page. check-in: a72e9e181d user: drh tags: trunk
19:19
Fix typos in and otherwise improved the docs for the "fossil all set" command. check-in: 67094bc299 user: drh tags: trunk
Changes
Unified Diff Ignore Whitespace Patch
Changes to src/setup.c.
411
412
413
414
415
416
417













418
419
420
421
422
423
424
  @ defend the site against robots.
  @
  @ <form action="%R/setup_robot" method="post"><div>
  login_insert_csrf_secret();
  @ <input type="submit"  name="submit" value="Apply Changes"></p>
  @ <hr>
  addAutoHyperlinkSettings();













  @ <hr>
  @ <p><input type="submit"  name="submit" value="Apply Changes"></p>
  @ </div></form>
  db_end_transaction(0);
  style_finish_page();
}








>
>
>
>
>
>
>
>
>
>
>
>
>







411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
  @ defend the site against robots.
  @
  @ <form action="%R/setup_robot" method="post"><div>
  login_insert_csrf_secret();
  @ <input type="submit"  name="submit" value="Apply Changes"></p>
  @ <hr>
  addAutoHyperlinkSettings();

  @ <hr>
  entry_attribute("Server Load Average Limit", 11, "max-loadavg", "mxldavg",
                  "0.0", 0);
  @ <p>Some expensive operations (such as computing tarballs, zip archives,
  @ or annotation/blame pages) are prohibited if the load average on the host
  @ computer is too large.  Set the threshold for disallowing expensive
  @ computations here.  Set this to 0.0 to disable the load average limit.
  @ This limit is only enforced on Unix servers.  On Linux systems,
  @ access to the /proc virtual filesystem is required, which means this limit
  @ might not work inside a chroot() jail.
  @ (Property: "max-loadavg")</p>

  @ <hr>
  @ <p><input type="submit"  name="submit" value="Apply Changes"></p>
  @ </div></form>
  db_end_transaction(0);
  style_finish_page();
}