# HG changeset patch # User Goffi # Date 1336684088 -7200 # Node ID d99047cd90f921bcf32a51724de97f1071833c05 # Parent 57d1d78190d0f4b64a902d69eeea3b7590b6caf0 added .hgignore diff -r 57d1d78190d0 -r d99047cd90f9 .hgignore --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/.hgignore Thu May 10 23:08:08 2012 +0200 @@ -0,0 +1,15 @@ +syntax: glob +*.pyc +*.pyv +*.swp +*.swo +tags +twistd.log +twistd.pid +bridge_constructor/generated +_trial_temp/ +sat.egg-info +*.un~ +dist +MANIFEST +build diff -r 57d1d78190d0 -r d99047cd90f9 idavoll.tac --- a/idavoll.tac Thu May 10 23:07:42 2012 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,37 +0,0 @@ -#!/usr/bin/python -#-!- coding: utf-8 -!- -# Copyright (c) 2003-2008 Ralph Meijer -# See LICENSE for details. - -""" -Example TAC for SàT Pubsub. -""" - -from twisted.application import service -from twisted.words.protocols.jabber.jid import JID - -from idavoll import tap - -application = service.Application("sat_pubsub") - -config = { - 'jid': JID('sat-pubsub.necton3.int'), - 'secret': 'pass', - 'rhost': '127.0.0.1', - 'rport': 5347, - 'backend': 'pgsql', - 'dbuser': 'user', - 'dbpass': 'pass', - 'dbname': "pubsub", - 'dbhost': "localhost", - 'dbport': None, - 'verbose': True, - 'hide-nodes': False, -} - -idavollService = tap.makeService(config) -idavollService.setServiceParent(application) - -# Set the maximum delay until trying to reconnect. -componentService = idavollService.getServiceNamed('component') -componentService.factory.maxdelay = 300