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
47413b37
Commit
47413b37
authored
Dec 17, 2017
by
ibuler
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Feature] record callback set true
parent
c8b6f615
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
7 deletions
+7
-7
app.py
coco/app.py
+1
-1
record.py
coco/record.py
+1
-0
logo.txt
logo.txt
+5
-6
No files found.
coco/app.py
View file @
47413b37
...
...
@@ -257,7 +257,7 @@ class Coco:
time
.
sleep
(
1
)
def
put_replay_queue
(
self
,
session
,
data
):
logger
.
debug
(
"Put replay data: {} {}"
.
format
(
session
,
data
))
logger
.
info
(
"Put replay data: {} {}"
.
format
(
session
,
data
))
self
.
_replay_queue
.
put
({
"session"
:
session
.
id
,
"data"
:
data
,
...
...
coco/record.py
View file @
47413b37
...
...
@@ -90,6 +90,7 @@ class ServerReplayRecorder(ReplayRecorder):
for
data
in
data_set
:
try
:
ServerReplayRecorder
.
filelist
[
data
[
"session"
]]
.
write
(
str
(
data
)
+
'
\n
'
)
return
True
except
KeyError
:
logger
.
error
(
"session ({})file does not exist!"
.
format
(
data
[
"session"
]))
...
...
logo.txt
View file @
47413b37
___
|_ |
| |_ _ _ __ ___ _ __ ___ _____ _____ _ __
| | | | | '_ ` _ \| '_ \/ __|/ _ \ \ / / _ \ '__|
/\__/ / |_| | | | | | | |_) \__ \ __/\ V / __/ |
\____/ \__,_|_| |_| |_| .__/|___/\___| \_/ \___|_|
| |_ _ _ __ ___ _ __ ___ ___
_ __
__ _____ _ __
| | | | | '_ ` _ \| '_ \/ __|/ _ \
'__\
\ / / _ \ '__|
/\__/ / |_| | | | | | | |_) \__ \ __/
|
\ V / __/ |
\____/ \__,_|_| |_| |_| .__/|___/\___|
_|
\_/ \___|_|
| |
|_|
\ No newline at end of file
|_|
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