Skip to content

Conversation

@etpinard
Copy link
Collaborator

I went ahead and cherry-picked @mind6's commits from #175 unto the current dev branch.


Since we had to disable the Percy tests (ref #177), I would be nice to manually test out this branch before merging it. I'll personally do that starting now.

I'm planning on releasing Dash v1.2.0 early next week.

@github-actions github-actions bot added CI enhancement New feature or request tests labels Jan 31, 2023
src/server.jl Outdated
handler = make_handler(app);
server = Sockets.listen(get_inetaddr(host, port))
task = @async HTTP.serve(handler, host, port; server = server, verbose = true)
task = @async HTTP.serve(handler, host, port; server = server, verbose = debug==true)
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Personally I would set verbose=false even in under run_server(app; debug=true)

I'd say logs like

┌ Debug: startread called
└ @ HTTP.Servers ~/.julia/packages/HTTP/z8l0i/src/Servers.jl:427
┌ Debug: invoking handler
└ @ HTTP.Servers ~/.julia/packages/HTTP/z8l0i/src/Servers.jl:446
┌ Debug: closeread
└ @ HTTP.Servers ~/.julia/packages/HTTP/z8l0i/src/Servers.jl:452
┌ Debug: closewrite
└ @ HTTP.Servers ~/.julia/packages/HTTP/z8l0i/src/Servers.jl:454
┌ Debug: startread called
└ @ HTTP.Servers ~/.julia/packages/HTTP/z8l0i/src/Servers.jl:427
┌ Debug: invoking handler
└ @ HTTP.Servers ~/.julia/packages/HTTP/z8l0i/src/Servers.jl:446
┌ Debug: closeread
└ @ HTTP.Servers ~/.julia/packages/HTTP/z8l0i/src/Servers.jl:452
┌ Debug: closewrite
└ @ HTTP.Servers ~/.julia/packages/HTTP/z8l0i/src/Servers.jl:454
┌ Debug: startread called
└ @ HTTP.Servers ~/.julia/packages/HTTP/z8l0i/src/Servers.jl:427
┌ Debug: invoking handler
└ @ HTTP.Servers ~/.julia/packages/HTTP/z8l0i/src/Servers.jl:446
┌ Debug: closeread
└ @ HTTP.Servers ~/.julia/packages/HTTP/z8l0i/src/Servers.jl:452
┌ Debug: closewrite
└ @ HTTP.Servers ~/.julia/packages/HTTP/z8l0i/src/Servers.jl:454
┌ Debug: startread called
└ @ HTTP.Servers ~/.julia/packages/HTTP/z8l0i/src/Servers.jl:427
┌ Debug: invoking handler
└ @ HTTP.Servers ~/.julia/packages/HTTP/z8l0i/src/Servers.jl:446
┌ Debug: closeread
└ @ HTTP.Servers ~/.julia/packages/HTTP/z8l0i/src/Servers.jl:452

are pretty much useless for Dash.jl users. Thoughts?

Copy link
Contributor

Choose a reason for hiding this comment

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

yes I think it's overly verbose for Dash and useless

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

thanks for your input @mind6 !

for `HTTP.serve`, the verbose HTTP
logs are too much for Dash.jl users
even while debugging.
The `verbose` default is `false`,
so we can drop it.
@etpinard
Copy link
Collaborator Author

etpinard commented Feb 6, 2023

Ok. I'm going to go ahead and merge this and try to release Dash.jl v1.2.0 - wish me luck 🤞

@etpinard
Copy link
Collaborator Author

Now available as v1.2.1 from Julia's general registry JuliaRegistries/General#77586 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CI enhancement New feature or request tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants