Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
C
coco
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ops
coco
Commits
ce31e68e
Commit
ce31e68e
authored
Jan 26, 2018
by
ibuler
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' into test
parents
f08ba199
619e01ca
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
3 deletions
+4
-3
app.py
coco/app.py
+1
-1
recorder.py
coco/recorder.py
+0
-2
conf_example.py
conf_example.py
+3
-0
No files found.
coco/app.py
View file @
ce31e68e
...
...
@@ -49,7 +49,7 @@ class Coco:
'MAX_CONNECTIONS'
:
500
,
'ADMINS'
:
''
,
'COMMAND_STORAGE'
:
{
'TYPE'
:
'server'
},
# server
'REPLAY_
RECORD_ENGINE'
:
'server'
,
'REPLAY_
STORAGE'
:
{
'TYPE'
:
'server'
}
,
}
def
__init__
(
self
,
root_path
=
None
):
...
...
coco/recorder.py
View file @
ce31e68e
...
...
@@ -271,7 +271,5 @@ def get_replay_recorder_class(config):
replay_storage
=
config
[
"REPLAY_STORAGE"
]
if
replay_storage
[
'TYPE'
]
==
"s3"
:
return
S3ReplayRecorder
elif
replay_storage
[
'TYPE'
]
==
"locale"
:
return
ServerReplayRecorder
else
:
return
ServerReplayRecorder
conf_example.py
View file @
ce31e68e
...
...
@@ -62,6 +62,9 @@ class Config:
COMMAND_STORAGE
=
{
"TYPE"
:
"server"
}
REPLAY_STORAGE
=
{
"TYPE"
:
"server"
}
config
=
Config
()
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