~netlandish/links-dev

This thread contains a patchset. You're looking at the original emails, but you may wish to use the patch review UI. Review patch
1

[PATCH links] No retries on import tasks to avoid import queue being full

Details
Message ID
<20250303200345.7146-1-peter@netlandish.com>
Sender timestamp
1741010622
DKIM signature
missing
Download raw message
Patch: +2 -2
---
 core/processors.go | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/core/processors.go b/core/processors.go
index 3f4355c..e6160e6 100644
--- a/core/processors.go
+++ b/core/processors.go
@@ -65,7 +65,7 @@ func ImportBookmarksTask(c echo.Context, origin int, path string,
			server.Logger().Printf("Error sending import complete email: %v", err)
		}
		return nil
	}).Retries(3).Before(func(ctx context.Context, task *work.Task) {
	}).Retries(0).Before(func(ctx context.Context, task *work.Task) {
		gobwebs.TaskIDWork(task)
		gctx.Server.Logger().Printf(
			"Running task ImportBookmarksTask %s for the %d attempt.",
@@ -90,7 +90,7 @@ func ParseBaseURLTask(srv *server.Server, baseURL *models.BaseURL) *work.Task {
		ctx = database.Context(ctx, srv.DB)
		ctx = timezone.Context(ctx, "UTC")
		return links.ParseBaseURL(ctx, baseURL)
	}).Retries(3).Before(func(ctx context.Context, task *work.Task) {
	}).Retries(0).Before(func(ctx context.Context, task *work.Task) {
		gobwebs.TaskIDWork(task)
		srv.Logger().Printf(
			"Running task ParseBaseURLTask %s for the %d attempt.",
-- 
2.47.2
Details
Message ID
<D86Y8DJ1XMDD.PM7HKBX8QTVN@netlandish.com>
In-Reply-To
<20250303200345.7146-1-peter@netlandish.com> (view parent)
Sender timestamp
1741015751
DKIM signature
missing
Download raw message
Applied.

To git@git.code.netlandish.com:~netlandish/links
   7558ddf..70a5244  master -> master
Reply to thread Export thread (mbox)