Compare commits

..

No commits in common. "6a2ab18c84da60672d32d14ac7a06e71734caf1f" and "7d8f58cab74843177d4ae984370dba86a262a499" have entirely different histories.

2 changed files with 1 additions and 2 deletions

View file

@ -10,7 +10,6 @@ Dependencies can be found within requirements.txt and are installed automaticall
To publish to RabbitMQ, loggingMode should be set to 'rabbitmq', and rabbitmqca, rabbitmqcacert, rabbitmqcakey, and rabbitmqRoutingKey should be provided. The certificates should align with the certificate authority which the RabbitMQ server recognises. To publish to RabbitMQ, loggingMode should be set to 'rabbitmq', and rabbitmqca, rabbitmqcacert, rabbitmqcakey, and rabbitmqRoutingKey should be provided. The certificates should align with the certificate authority which the RabbitMQ server recognises.
To publish direct into an MSSQL or MariaDB database, the loggingMode should be set accordingly (see below), and sqlUsername, sqlPassword, sqlServer, and sqlDatabase should be provided. To publish direct into an MSSQL or MariaDB database, the loggingMode should be set accordingly (see below), and sqlUsername, sqlPassword, sqlServer, and sqlDatabase should be provided.
You will need the associated ODBC driver installed for whichever DBMS you choose. ODBC references can be modified in odbcReferences.py to suit your system. You can probably even get alternative DBMS's working such as PostgreSQL as long as you convert the schema.
See the available configuration options, which should be specified in config.py. See the available configuration options, which should be specified in config.py.

View file

@ -41,9 +41,9 @@ class rabbitMQClient:
self.rabbitmqPort = rabbitmqPort self.rabbitmqPort = rabbitmqPort
self.routingKey = routingKey self.routingKey = routingKey
@retry(stop_max_attempt_number=120, wait_fixed=1000)
def publish(self, message): def publish(self, message):
@retry(stop_max_attempt_number=120, wait_fixed=1000)
def publishMessage(conn): def publishMessage(conn):
ch = conn.channel() ch = conn.channel()