Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
synapse
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Monitor
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Maunium
synapse
Commits
65abc90f
Commit
65abc90f
authored
7 years ago
by
Richard van der Hoff
Browse files
Options
Downloads
Patches
Plain Diff
federation_server: clean up imports
parent
a7b726ad
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
synapse/federation/federation_server.py
+11
-14
11 additions, 14 deletions
synapse/federation/federation_server.py
with
11 additions
and
14 deletions
synapse/federation/federation_server.py
+
11
−
14
View file @
65abc90f
...
@@ -12,25 +12,22 @@
...
@@ -12,25 +12,22 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# See the License for the specific language governing permissions and
# limitations under the License.
# limitations under the License.
from
twisted.internet
import
defer
import
logging
from
.federation_base
import
Federati
on
B
as
e
import
simplejs
on
as
json
from
.units
import
Transaction
,
Edu
from
twisted.internet
import
defer
from
synapse.api.errors
import
AuthError
,
FederationError
,
SynapseError
from
synapse.crypto.event_signing
import
compute_event_signature
from
synapse.events
import
FrozenEvent
from
synapse.federation.federation_base
import
FederationBase
from
synapse.federation.units
import
Edu
,
Transaction
import
synapse.metrics
from
synapse.types
import
get_domain_from_id
from
synapse.util
import
async
from
synapse.util
import
async
from
synapse.util.caches.response_cache
import
ResponseCache
from
synapse.util.logcontext
import
make_deferred_yieldable
,
preserve_fn
from
synapse.util.logcontext
import
make_deferred_yieldable
,
preserve_fn
from
synapse.util.logutils
import
log_function
from
synapse.util.logutils
import
log_function
from
synapse.util.caches.response_cache
import
ResponseCache
from
synapse.events
import
FrozenEvent
from
synapse.types
import
get_domain_from_id
import
synapse.metrics
from
synapse.api.errors
import
AuthError
,
FederationError
,
SynapseError
from
synapse.crypto.event_signing
import
compute_event_signature
import
simplejson
as
json
import
logging
# when processing incoming transactions, we try to handle multiple rooms in
# when processing incoming transactions, we try to handle multiple rooms in
# parallel, up to this limit.
# parallel, up to this limit.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment