equal
deleted
inserted
replaced
117 self.https_url = config['https-url'] |
117 self.https_url = config['https-url'] |
118 self.children = {} |
118 self.children = {} |
119 self.static_directories = set(('data%s' % config.instance_md5_version(), |
119 self.static_directories = set(('data%s' % config.instance_md5_version(), |
120 'data', 'static', 'fckeditor')) |
120 'data', 'static', 'fckeditor')) |
121 global MAX_POST_LENGTH |
121 global MAX_POST_LENGTH |
122 MAX_POST_LENGTH = config['max-post-length'] * 1024 * 1024 |
122 MAX_POST_LENGTH = config['max-post-length'] |
123 |
123 |
124 def init_publisher(self): |
124 def init_publisher(self): |
125 config = self.config |
125 config = self.config |
126 # when we have an in-memory repository, clean unused sessions every XX |
126 # when we have an in-memory repository, clean unused sessions every XX |
127 # seconds and properly shutdown the server |
127 # seconds and properly shutdown the server |