Commit Graph

9 Commits

Author SHA1 Message Date
kim (grufwub)
d87e974c6b add TODO comments + remove unused global constant
Signed-off-by: kim (grufwub) <grufwub@gmail.com>
2020-04-15 19:41:00 +01:00
kim (grufwub)
d3073e72ca remove cache.go debug print
Signed-off-by: kim (grufwub) <grufwub@gmail.com>
2020-04-15 12:44:04 +01:00
kim (grufwub)
c57939c470 custom max cache size + max file in cache size, improve cache.go readability
Signed-off-by: kim (grufwub) <grufwub@gmail.com>
2020-04-15 12:43:02 +01:00
kim (grufwub)
22fc120079 refactor cache code, move flags to separate file
Signed-off-by: kim (grufwub) <grufwub@gmail.com>
2020-04-15 11:57:42 +01:00
kim (grufwub)
3c8cd22c7b update file caches to use LRU policy to delete old
Signed-off-by: kim (grufwub) <grufwub@gmail.com>
2020-04-14 11:49:37 +01:00
kim (grufwub)
a411bef934 catch small bug in + update README.md
Signed-off-by: kim (grufwub) <grufwub@gmail.com>
2020-04-13 22:51:43 +01:00
kim (grufwub)
e1c74ae819 file caching now more threadsafe + added file monitor
Signed-off-by: kim (grufwub) <grufwub@gmail.com>
2020-04-13 22:48:49 +01:00
kim (grufwub)
16f754a884 file-cache implementation now working! pushing files out of cache TBA
Signed-off-by: kim (grufwub) <grufwub@gmail.com>
2020-04-13 14:39:35 +01:00
kim (grufwub)
e3e07948f1 separate out into separate files, first work towards file caching system
Signed-off-by: kim (grufwub) <grufwub@gmail.com>
2020-04-13 13:15:12 +01:00