Mercurial > libervia-backend
comparison src/plugins/plugin_xep_0047.py @ 1628:e9936fcfaf91
plugin 0047: increased timeout to 120s
author | Goffi <goffi@goffi.org> |
---|---|
date | Thu, 19 Nov 2015 18:15:27 +0100 |
parents | d46aae87c03a |
children | d17772b0fe22 |
comparison
equal
deleted
inserted
replaced
1627:5a641e7b858a | 1628:e9936fcfaf91 |
---|---|
45 NS_IBB = 'http://jabber.org/protocol/ibb' | 45 NS_IBB = 'http://jabber.org/protocol/ibb' |
46 IBB_OPEN = IQ_SET + '/open[@xmlns="' + NS_IBB + '"]' | 46 IBB_OPEN = IQ_SET + '/open[@xmlns="' + NS_IBB + '"]' |
47 IBB_CLOSE = IQ_SET + '/close[@xmlns="' + NS_IBB + '" and @sid="{}"]' | 47 IBB_CLOSE = IQ_SET + '/close[@xmlns="' + NS_IBB + '" and @sid="{}"]' |
48 IBB_IQ_DATA = IQ_SET + '/data[@xmlns="' + NS_IBB + '" and @sid="{}"]' | 48 IBB_IQ_DATA = IQ_SET + '/data[@xmlns="' + NS_IBB + '" and @sid="{}"]' |
49 IBB_MESSAGE_DATA = MESSAGE + '/data[@xmlns="' + NS_IBB + '" and @sid="{}"]' | 49 IBB_MESSAGE_DATA = MESSAGE + '/data[@xmlns="' + NS_IBB + '" and @sid="{}"]' |
50 TIMEOUT = 60 # timeout for workflow | 50 TIMEOUT = 120 # timeout for workflow |
51 DEFER_KEY = 'finished' # key of the deferred used to track session end | 51 DEFER_KEY = 'finished' # key of the deferred used to track session end |
52 | 52 |
53 PLUGIN_INFO = { | 53 PLUGIN_INFO = { |
54 "name": "In-Band Bytestream Plugin", | 54 "name": "In-Band Bytestream Plugin", |
55 "import_name": "XEP-0047", | 55 "import_name": "XEP-0047", |