Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: remove log streaming endpoint #3850

Merged
merged 2 commits into from
Dec 23, 2024

Conversation

stuartwdouglas
Copy link
Collaborator

The runner now writes this to the timeline service directly

This was referenced Dec 23, 2024
@stuartwdouglas stuartwdouglas force-pushed the stuartwdouglas/remove-stream-logs branch 4 times, most recently from 4b925be to 8d03c6a Compare December 23, 2024 04:13
@alecthomas
Copy link
Collaborator

Aha! Yes, great point!

func (s *Service) streamLogsLoop(ctx context.Context, send func(request *ftlv1.StreamDeploymentLogsRequest) error) error {
delay := time.Millisecond * 500
func (s *Service) streamLogsLoop(ctx context.Context) {
for {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Replace with channels.IterContext()!

@stuartwdouglas stuartwdouglas force-pushed the stuartwdouglas/remove-stream-logs branch from 8d03c6a to 2f12bee Compare December 23, 2024 04:41
stuartwdouglas and others added 2 commits December 23, 2024 16:33
The runner now writes this to the timeline service directly
@stuartwdouglas stuartwdouglas force-pushed the stuartwdouglas/remove-stream-logs branch from b233fcd to d37c279 Compare December 23, 2024 05:33
@stuartwdouglas stuartwdouglas enabled auto-merge (squash) December 23, 2024 05:33
@stuartwdouglas stuartwdouglas merged commit b080e1b into main Dec 23, 2024
61 checks passed
@stuartwdouglas stuartwdouglas deleted the stuartwdouglas/remove-stream-logs branch December 23, 2024 05:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants