You need to set the JAVA_OPTS_EXT(1) variable to include "
-Daerogear.metrics.storage.days=YOUR_DESIRED_DAYS". Here are some docs :
1:
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(a)napp.dk
W:
https://napp.dk
*__________________*
*From: *<aerogear-dev-bounces(a)lists.jboss.org> on behalf of Matthias
Wessendorf <matzew(a)apache.org>
*Reply-To: *AeroGear Developer Mailing List <aerogear-dev(a)lists.jboss.org>
*Date: *Monday 3 October 2016 at 12:15
*To: *AeroGear Developer Mailing List <aerogear-dev(a)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(a)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
M: +45 20 28 20 26
E: mm(a)napp.dk
W:
https://napp.dk
*__________________*
_______________________________________________
aerogear-dev mailing list
aerogear-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/aerogear-dev
--
Matthias Wessendorf
blog:
http://matthiaswessendorf.wordpress.com/
twitter:
http://twitter.com/mwessendorf
_______________________________________________
aerogear-dev mailing list
aerogear-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/aerogear-dev