[aerogear-dev] Loosing data in AeroGear Unified Push Server?
Mads Møller
mm at napp.dk
Mon Oct 3 09:04:08 EDT 2016
Hi Matthias,
Thanks for the reply.
So since I dont have any experience with build java from source, is there an environment file I can change?
We are hosting the service in Openshift Cartridge setup.
BEST REGARDS
__________________
MADS MØLLER
TECHNICAL PARTNER
Napp A/S
T: +45 42 42 80 60
M: +45 20 28 20 26
E: mm at napp.dk
W: https://napp.dk
__________________
From: <aerogear-dev-bounces at lists.jboss.org> on behalf of Matthias Wessendorf <matzew at apache.org>
Reply-To: AeroGear Developer Mailing List <aerogear-dev at lists.jboss.org>
Date: Monday 3 October 2016 at 12:15
To: AeroGear Developer Mailing List <aerogear-dev at lists.jboss.org>
Subject: Re: [aerogear-dev] Loosing data in AeroGear Unified Push Server?
data taht's older than 30 days will be removed:
https://github.com/aerogear/aerogear-unifiedpush-server/blob/master/service/src/main/java/org/jboss/aerogear/unifiedpush/service/metrics/PushMessageMetricsService.java#L133-L136
but... you can override that default behavior:
https://github.com/aerogear/aerogear-unifiedpush-server/blob/master/service/src/main/java/org/jboss/aerogear/unifiedpush/service/metrics/PushMessageMetricsService.java#L41
By starting the server with a system property, like:
-Daerogear.metrics.storage.days=YOUR_DESIRED_DAYS
-M
On Mon, Oct 3, 2016 at 11:14 AM, Mads Møller <mm at napp.dk<mailto:mm at napp.dk>> wrote:
Hi there,
I just found out that we are loosing the push messages from the push_message_info table. They are simply removed by something in the Aerogear push code.
This is super scary for us.
Do anyone know of current or previous bugs regarding the messages from that table have been deleted because of that a bug in the source code?
BEST REGARDS
__________________
MADS MØLLER
TECHNICAL PARTNER
Napp A/S
T: +45 42 42 80 60<tel:%2B45%2042%2042%2080%2060>
M: +45 20 28 20 26<tel:%2B45%2020%2028%2020%2026>
E: mm at napp.dk<mailto:mm at napp.dk>
W: https://napp.dk
__________________
_______________________________________________
aerogear-dev mailing list
aerogear-dev at lists.jboss.org<mailto:aerogear-dev at lists.jboss.org>
https://lists.jboss.org/mailman/listinfo/aerogear-dev
--
Matthias Wessendorf
blog: http://matthiaswessendorf.wordpress.com/
twitter: http://twitter.com/mwessendorf
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/aerogear-dev/attachments/20161003/09a1bffd/attachment.html
More information about the aerogear-dev
mailing list