You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to dropwiz...@googlegroups.com
It seems like Dropwizard can terminate the process before all managed objects get a chance to fully complete from their stop() methods. Is there a way to configure / extend this default shutdown grace period?
Thanks,
Ryan
Nick Telford
unread,
Nov 12, 2012, 5:31:47 AM11/12/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to dropwiz...@googlegroups.com
In your configuration (assuming you're using YAML):
http: shutdownGracePeriod: 10s
Ryan LeCompte
unread,
Nov 12, 2012, 11:56:10 AM11/12/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to dropwiz...@googlegroups.com
Thanks, Nick. I'll give that a shot.
Ryan LeCompte
unread,
Nov 12, 2012, 12:06:24 PM11/12/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to dropwiz...@googlegroups.com
Actually, that grace period configuration option didn't seem to help. I have a custom class which implements Managed, and it can take around 5 - 8 seconds for it to gracefully complete from stop(). However, it looks like the process is killed before it completes. Is there a way to extend that grace period?
Ryan
Ryan LeCompte
unread,
Nov 12, 2012, 12:31:38 PM11/12/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message