add comment
This commit is contained in:
1 parent
795e1caca4
commit
37e1005479
1 file changed
+3
@@ -76,6 +76,9 @@ export class DockerLogsService implements IDockerLogsService {
|
|||||||
},
|
},
|
||||||
lines: fresh,
|
lines: fresh,
|
||||||
gap: fresh.length === DOCKER_LOG_TAIL_LINES,
|
gap: fresh.length === DOCKER_LOG_TAIL_LINES,
|
||||||
|
// We only fetch DOCKER_LOG_TAIL_LINES worth of logs.
|
||||||
|
// If we have 200 fresh logs, there _could_ be more than 200 lines, so set gap = true
|
||||||
|
// Client can display that some logs may be missing
|
||||||
checkedAt,
|
checkedAt,
|
||||||
expiry,
|
expiry,
|
||||||
createdAt: checkedAt,
|
createdAt: checkedAt,
|
||||||
|
|||||||
Reference in new issue
Block a user