weaver icon indicating copy to clipboard operation
weaver copied to clipboard

weaver status: Get "http://127.0.0.1:xxxxx/debug/serviceweaver/status" error

Open lemon-1997 opened this issue 2 years ago • 2 comments

when i click stop button in golang idea debug mode, the file in share\serviceweaver\single_registry cannot be deleted. In run mode or ctrl + c is ok

lemon-1997 avatar Mar 08 '23 03:03 lemon-1997

before goland Version: 2022.3,IDE sends os.Kill signal which cannot be caught.I solved the problem by upgrading IDE version.

lemon-1997 avatar Mar 08 '23 08:03 lemon-1997

if weaver services doesn't stop gracefully ,Registry.listwill return dead registration causeweaver status doesn't work.

// list returns all registrations, dead or alive.
func (r *Registry) list() ([]Registration, error)

lemon-1997 avatar Mar 08 '23 08:03 lemon-1997