Skip to content

Commit

Permalink
Set hostname as default recceiver id
Browse files Browse the repository at this point in the history
  • Loading branch information
jacomago committed Apr 2, 2024
1 parent a4bcd8a commit 867bc8d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion server/recceiver/cfstore.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# -*- coding: utf-8 -*-

import logging
import socket
_log = logging.getLogger(__name__)

from zope.interface import implementer
Expand Down Expand Up @@ -33,7 +34,7 @@
__all__ = ['CFProcessor']

RECCEIVER_ID_KEY = 'recceiverID'
RECCEIVER_ID_DEFAULT = 'recceiver0'
RECCEIVER_ID_DEFAULT = socket.gethostname()

@implementer(interfaces.IProcessor)
class CFProcessor(service.Service):
Expand Down

0 comments on commit 867bc8d

Please sign in to comment.