From 9bb0f7e8282cb162a74acc6d2e92a99eea2b3ad5 Mon Sep 17 00:00:00 2001 From: Chris Caron Date: Sun, 6 Jul 2025 20:30:08 -0400 Subject: [PATCH] slight refactoring --- apprise/plugins/spike.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/apprise/plugins/spike.py b/apprise/plugins/spike.py index 37d44fe6..f4a65921 100644 --- a/apprise/plugins/spike.py +++ b/apprise/plugins/spike.py @@ -117,7 +117,6 @@ class NotifySpike(NotifyBase): """ Send Spike.sh Notification """ - self.throttle() payload = { 'message': title if title else body, @@ -129,6 +128,9 @@ class NotifySpike(NotifyBase): 'Content-Type': 'application/json', } + # Always call throttle before any remote server i/o is made + self.throttle() + try: response = requests.post( self.webhook_url,