Problem/Motivation
Currently, the caller reference is created by generating a random number between 1 and 999999999999999999. Under odd chances, a collision may happen when the same number is generated a second time.
Proposed resolution
Use the current UNIX timestamp instead. To further prevent collision caused by two users submitting at exactly the same time, append the username too.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 3307448-2.patch | 672 bytes | andrew.wang |
Comments
Comment #2
andrew.wang commentedComment #3
prashant mishra commentedPatch applied to new release 3.0.2
https://www.drupal.org/project/cloudfront_cache_path_invalidate/releases...
Comment #4
andrew.wang commented