Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
neoppod
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
Levin Zimmermann
neoppod
Commits
4092621e
Commit
4092621e
authored
Sep 03, 2017
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
de4a4624
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
5 deletions
+10
-5
go/neo/t/t.sh
go/neo/t/t.sh
+9
-5
neo/scripts/neomaster.py
neo/scripts/neomaster.py
+1
-0
No files found.
go/neo/t/t.sh
View file @
4092621e
...
@@ -13,13 +13,13 @@ cluster=pygotest
...
@@ -13,13 +13,13 @@ cluster=pygotest
# M{py,go}
# M{py,go}
# spawn master
# spawn master
Mpy
()
{
Mpy
()
{
# XXX --masters=?
# XXX --autostart=1 ?
# XXX --autostart=1 ?
neomaster
--cluster
=
$cluster
--bind
=
$Mbind
-
r
1
-p
1
--logfile
=
`
pwd
`
/Mpy.log
neomaster
--cluster
=
$cluster
--bind
=
$Mbind
-
-masters
=
$Mbind
-r
1
-p
1
--logfile
=
`
pwd
`
/Mpy.log &
}
}
Mgo
()
{
Mgo
()
{
neo master
-cluster
=
$cluster
-bind
=
$Mbind
-log_dir
=
`
pwd
`
exec
-a
Mgo
\
neo
--log_dir
=
`
pwd
`
master
-cluster
=
$cluster
-bind
=
$Mbind
}
}
# TODO Spy
# TODO Spy
...
@@ -27,10 +27,14 @@ Mgo() {
...
@@ -27,10 +27,14 @@ Mgo() {
# Sgo <data>
# Sgo <data>
# spawn storage
# spawn storage
Sgo
()
{
Sgo
()
{
neo storage
-cluster
=
$cluster
-bind
=
$Sbind
-masters
=
$Mbind
-log_dir
=
`
pwd
`
$@
exec
-a
Sgo
\
neo
-log_dir
=
`
pwd
`
storage
-cluster
=
$cluster
-bind
=
$Sbind
-masters
=
$Mbind
$@
&
}
}
# spawn Mpy + Sgo
# spawn Mpy + Sgo
Mpy &
Mpy
Sgo ../../zodb/storage/fs1/testdata/1.fs
wait
neo/scripts/neomaster.py
View file @
4092621e
...
@@ -46,6 +46,7 @@ def main(args=None):
...
@@ -46,6 +46,7 @@ def main(args=None):
config
=
ConfigurationManager
(
defaults
,
options
,
'master'
)
config
=
ConfigurationManager
(
defaults
,
options
,
'master'
)
# setup custom logging
# setup custom logging
logging
.
backlog
(
max_size
=
None
)
# log without delay
logging
.
setup
(
config
.
getLogfile
())
logging
.
setup
(
config
.
getLogfile
())
# and then, load and run the application
# and then, load and run the application
...
...
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