Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
zodb
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Joshua
zodb
Commits
7dfc0f30
Commit
7dfc0f30
authored
May 04, 2010
by
Jim Fulton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Deprecated the monitor server.
parent
e465d2c1
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 @
7dfc0f30
...
@@ -22,37 +22,35 @@ exported for invocation by the server.
...
@@ -22,37 +22,35 @@ exported for invocation by the server.
from
__future__
import
with_statement
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
asyncore
import
cPickle
import
cPickle
import
itertools
import
logging
import
logging
import
os
import
os
import
sys
import
sys
import
tempfile
import
tempfile
import
threading
import
threading
import
time
import
time
import
itertools
import
transaction
import
transaction
import
warnings
import
ZEO.zrpc.error
import
ZODB.blob
import
ZODB.blob
import
ZODB.serialize
import
ZODB.serialize
import
ZODB.TimeStamp
import
ZODB.TimeStamp
import
ZEO.zrpc.error
import
zope.interface
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'
)
logger
=
logging
.
getLogger
(
'ZEO.StorageServer'
)
...
@@ -914,6 +912,10 @@ class StorageServer:
...
@@ -914,6 +912,10 @@ class StorageServer:
timeout
.
start
()
timeout
.
start
()
self
.
timeouts
[
name
]
=
timeout
self
.
timeouts
[
name
]
=
timeout
if
monitor_address
:
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
)
self
.
monitor
=
StatsServer
(
monitor_address
,
self
.
stats
)
else
:
else
:
self
.
monitor
=
None
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