Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
ZEO
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
ZEO
Commits
c34be685
Commit
c34be685
authored
May 04, 2010
by
Jim Fulton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Deprecated the monitor server.
parent
c1a06775
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
18 deletions
+20
-18
src/ZEO/StorageServer.py
src/ZEO/StorageServer.py
+20
-18
No files found.
src/ZEO/StorageServer.py
View file @
c34be685
...
...
@@ -22,37 +22,35 @@ exported for invocation by the server.
from
__future__
import
with_statement
from
ZEO.CommitLog
import
CommitLog
from
ZEO.Exceptions
import
AuthError
from
ZEO.monitor
import
StorageStats
,
StatsServer
from
ZEO.zrpc.connection
import
ManagedServerConnection
,
Delay
,
MTDelay
,
Result
from
ZEO.zrpc.server
import
Dispatcher
from
ZEO.zrpc.trigger
import
trigger
from
ZODB.ConflictResolution
import
ResolvedSerial
from
ZODB.loglevels
import
BLATHER
from
ZODB.POSException
import
StorageError
,
StorageTransactionError
from
ZODB.POSException
import
TransactionError
,
ReadOnlyError
,
ConflictError
from
ZODB.serialize
import
referencesf
from
ZODB.utils
import
oid_repr
,
p64
,
u64
,
z64
import
asyncore
import
cPickle
import
itertools
import
logging
import
os
import
sys
import
tempfile
import
threading
import
time
import
itertools
import
transaction
import
warnings
import
ZEO.zrpc.error
import
ZODB.blob
import
ZODB.serialize
import
ZODB.TimeStamp
import
ZEO.zrpc.error
import
zope.interface
from
ZEO.CommitLog
import
CommitLog
from
ZEO.monitor
import
StorageStats
,
StatsServer
from
ZEO.zrpc.server
import
Dispatcher
from
ZEO.zrpc.connection
import
ManagedServerConnection
,
Delay
,
MTDelay
,
Result
from
ZEO.zrpc.trigger
import
trigger
from
ZEO.Exceptions
import
AuthError
from
ZODB.ConflictResolution
import
ResolvedSerial
from
ZODB.POSException
import
StorageError
,
StorageTransactionError
from
ZODB.POSException
import
TransactionError
,
ReadOnlyError
,
ConflictError
from
ZODB.serialize
import
referencesf
from
ZODB.utils
import
oid_repr
,
p64
,
u64
,
z64
from
ZODB.loglevels
import
BLATHER
logger
=
logging
.
getLogger
(
'ZEO.StorageServer'
)
...
...
@@ -914,6 +912,10 @@ class StorageServer:
timeout
.
start
()
self
.
timeouts
[
name
]
=
timeout
if
monitor_address
:
warnings
.
warn
(
"The monitor server is deprecated. Use the server_status
\
n
"
"ZEO method instead."
,
DeprecationWarning
)
self
.
monitor
=
StatsServer
(
monitor_address
,
self
.
stats
)
else
:
self
.
monitor
=
None
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment