emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/webpaste 84b5c80 279/298: readme: Add readme entry for max


From: ELPA Syncer
Subject: [nongnu] elpa/webpaste 84b5c80 279/298: readme: Add readme entry for max retries
Date: Thu, 9 Dec 2021 19:00:29 -0500 (EST)

branch: elpa/webpaste
commit 84b5c80bf112cd4ac23382e68fa0d2f01452ff25
Author: Elis Hirwing <elis@hirwing.se>
Commit: Elis Hirwing <elis@hirwing.se>

    readme: Add readme entry for max retries
---
 README.org | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/README.org b/README.org
index 7623095..64c4e10 100644
--- a/README.org
+++ b/README.org
@@ -18,6 +18,7 @@ over time and preferred services can easily be configured.
    - [[#choosing-providers--provider-priority][Choosing providers / provider 
priority]]
    - [[#only-paste-plaintext-pastes][Only paste plaintext pastes]]
    - [[#confirm-pasting-with-a-yesno-confirmation-before-pasting][Confirm 
pasting with a yes/no confirmation before pasting]]
+   - [[#max-retries-on-failure][Max retries on failure]]
    - [[#view-recently-created-pastes][View recently created pastes]]
      - [[#send-the-returned-url-to-the-killring][Send the returned URL to the 
killring]]
      - [[#copy-url-to-the-clipboard][Copy URL to the clipboard]]
@@ -97,6 +98,17 @@ Example:
 Can also be put in the =:config= section of =use-package= the same way as the
 provider definitions above.
 
+** Max retries on failure
+To prevent infinite loops of retries there's an option named
+=webpaste-max-retries=, it's default value is =10=. Webpaste shouldn't try
+more than 10 times against remote services.
+
+This can be changed:
+#+begin_src emacs-lisp
+  ;; Do maximum 13 retries instead of standard 10
+  (setq webpaste-max-retries 13)
+#+end_src
+
 ** View recently created pastes
 Webpaste gives you several options to view your successful paste.
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]