[ 
https://issues.apache.org/jira/browse/DELTASPIKE-1402?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17123526#comment-17123526
 ] 

ASF subversion and git services commented on DELTASPIKE-1402:
-------------------------------------------------------------

Commit 5ffcaf3b8243586e9a479f7a7e554a34c7669844 in deltaspike's branch 
refs/heads/master from Mark Struberg
[ https://gitbox.apache.org/repos/asf?p=deltaspike.git;h=5ffcaf3 ]

DELTASPIKE-1402 wait a bit longer

sadly a few file systems have a bigger lastModified granularity.
So we better wait a bit longer.


> ~/.deltaspike/apache-deltaspike.properties doesn't pickup changes during 
> runtime
> --------------------------------------------------------------------------------
>
>                 Key: DELTASPIKE-1402
>                 URL: https://issues.apache.org/jira/browse/DELTASPIKE-1402
>             Project: DeltaSpike
>          Issue Type: Improvement
>      Security Level: public(Regular issues) 
>          Components: Configuration
>    Affects Versions: 1.9.3
>            Reporter: Mark Struberg
>            Priority: Major
>             Fix For: 1.9.4
>
>
> Right now the {{ConfigSource}} registered via 
> {{org.apache.deltaspike.core.impl.config.DefaultConfigSourceProvider#addUserHomeConfigSource}}
>  does not reload dynamically if the file got changed.
> That means DeltaSpike Config right now doesn't automatically pick up changes 
> in this file.
> The same is true for other 
> {{org.apache.deltaspike.core.impl.config.PropertyFileConfigSource}} but most 
> of them are in a jar anyway, so it doesn't make any difference.
> Of course for PropertyFileConfigSources representing native files on the disk 
> it might also be nice to detect dynamic changes.
> It might be perfectly fine to have changes only picked up based on the 
> last-changed timestamp of the file and only checked every minute or so.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to