[aerogear-dev] Loosing data in AeroGear Unified Push Server?

Matthias Wessendorf matzew at apache.org
Tue Oct 4 04:01:34 EDT 2016


Hello,

yes, on the config file, go this line:
https://github.com/aerogear/openshift-origin-cartridge-aerogear-push/blob/master/versions/1.1.3/standalone/configuration/standalone.xml#L31

and after the above line, add the following:
<system-properties>
   <property name="aerogear.metrics.storage.days"
value="YOUR_DESIRED_DAYS"/>
</system-properties>



On Mon, Oct 3, 2016 at 3:04 PM, Mads Møller <mm at napp.dk> wrote:

> 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> 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 at napp.dk
>
> W: https://napp.dk
>
> *__________________*
>
>
>
>
> _______________________________________________
> aerogear-dev mailing list
> 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
>
> _______________________________________________
> aerogear-dev mailing list
> 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/20161004/40d6baab/attachment.html 


More information about the aerogear-dev mailing list