add queues and processing
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 4s

This commit is contained in:
Thomas Peetz
2026-08-05 15:46:39 +02:00
parent 6abbe2e585
commit 1dcf342736
5 changed files with 74 additions and 34 deletions
+4 -3
View File
@@ -4,12 +4,13 @@ read file with URLs and store in DB
import json
import logging.config
from argparse import ArgumentDefaultsHelpFormatter, ArgumentParser
from pathlib import Path
from argparse import ArgumentParser, ArgumentDefaultsHelpFormatter
import requests
import yaml
from platformdirs import PlatformDirs
from proton import Message, Event
from proton import Event, Message
from proton.handlers import MessagingHandler
from proton.reactor import Container
@@ -53,7 +54,7 @@ class AddLinkMessage(MessagingHandler):
super(AddLinkMessage, self).__init__()
log.info("create AddLinkMessage")
self.server = server
self.address = "add_link_media"
self.address = "media.link.add"
self.message = message
self.log = log