Edward.Yang
|
39bd40e512
|
Incr和Decr应该改成排它锁,否则在并发的时候会出现非期望的结果值
|
2019-05-01 13:10:21 +08:00 |
|
Wusuluren
|
dfab44c24a
|
fix bug on cache/file
|
2019-04-05 22:32:28 +08:00 |
|
Wusuluren
|
1900246054
|
fix bug on cache/file
|
2019-04-05 22:17:56 +08:00 |
|
Iskander Sharipov
|
67666dbe0f
|
all: simplify boolean expressions
- !(a == b) => a != b
- !(a != b) => a == b
Signed-off-by: Iskander Sharipov <quasilyte@gmail.com>
|
2019-02-09 17:18:59 +03:00 |
|
astaxie
|
7925458fc0
|
Merge pull request #3502 from Quasilyte/patch-1
cache: remove excessive type assertions
|
2019-02-02 16:43:04 +08:00 |
|
DennisMao
|
8506194d2c
|
fix panic cause by the map
|
2019-01-25 19:08:39 +08:00 |
|
Iskander (Alex) Sharipov
|
dc07fa7085
|
cache: remove excessive type assertions
Assign type switch variable to get properly-typed value
inside case clauses.
Signed-off-by: Iskander Sharipov <quasilyte@gmail.com>
|
2019-01-24 08:52:30 +03:00 |
|
Dennis
|
9e036bcab5
|
Update memory.go
|
2018-11-13 14:43:23 +08:00 |
|
astaxie
|
c4ed5030da
|
Merge pull request #3339 from GNURub/hotfix/redis-uri
Support redis URI format
|
2018-09-30 15:43:41 +08:00 |
|
Ruben Cid
|
e4605f232b
|
Support redis URI
|
2018-09-26 18:05:09 +02:00 |
|
JessonChan
|
34a812d45f
|
typo fixed
#3260
|
2018-08-07 12:08:15 +08:00 |
|
astaxie
|
6d84db1e93
|
Revert "hible"
|
2018-07-31 20:07:03 +08:00 |
|
hible
|
c7c0b01ec5
|
hible
cache add function
// IncrBy increase counter by num.
IncrBy(key string, num int)
// DecrBy decrease counter by num.
DecrBy(key string, num int)
|
2018-07-31 17:19:09 +08:00 |
|
astaxie
|
9d526dfd50
|
Merge pull request #3100 from godcong/master
change github.com/garyburd/redigo to newest branch github.com/gomodul…
|
2018-04-20 19:40:30 +08:00 |
|
godcong
|
886fefe738
|
change github.com/garyburd/redigo to newest branch github.com/gomodule/redigo
|
2018-03-26 16:59:01 +08:00 |
|
Pieter Callewaert
|
59fd3952b7
|
bug: restore the default value
|
2017-12-26 11:48:34 +01:00 |
|
Pieter Callewaert
|
7fd80e6aa1
|
feat(redis.go): make MaxIdle configurable
|
2017-12-26 11:48:08 +01:00 |
|
astaxie
|
a5dd5d161d
|
Merge pull request #2659 from ansiz/master
to close issue #1899(redis cache doubt)
|
2017-11-19 11:13:42 +08:00 |
|
zhirong
|
74eb613919
|
Typo fixed
|
2017-10-16 00:06:20 +08:00 |
|
astaxie
|
a7354d2d08
|
Revert "should use time.Since instead of time.Now().Sub"
|
2017-09-09 06:29:38 +08:00 |
|
wangguoliang
|
c8c25549e7
|
should use time.Since instead of time.Now().Sub
Signed-off-by: wgliang <liangcszzu@163.com>
|
2017-09-07 19:01:34 +08:00 |
|
moqiancong
|
79f60274a0
|
fix cache/memory fatal error: concurrent map iteration and map write
|
2017-06-16 01:26:55 +08:00 |
|
xhzhang
|
4e8f212069
|
refactor: #1899 redis cache module refactor
redis cache module refactor, to view the discussion:
https://github.com/astaxie/beego/issues/1899
|
2017-05-20 19:56:38 +08:00 |
|
eyalpost
|
864693d2f8
|
mall fixes
|
2017-04-24 02:35:04 +03:00 |
|
astaxie
|
d956444965
|
Merge branch 'develop' into add-gosimple
|
2017-03-18 11:20:30 +08:00 |
|
Sergey Lanzman
|
37c1ffc57a
|
add go simple support
|
2017-03-17 20:22:20 +02:00 |
|
Sergey Lanzman
|
856fde28dc
|
add unconverted support
|
2017-03-17 19:45:30 +02:00 |
|
astaxie
|
3d629e7320
|
Merge pull request #2468 from antony66/ssdb_cache_fix_is_exist
Fixes issue #2467 with ssdb cache IsExist
|
2017-02-27 18:58:53 +08:00 |
|
Anton Khalikov
|
74045090cc
|
This fixes issue #2467 with ssdb cache IsExist
|
2017-02-27 14:14:16 +05:00 |
|
liming
|
db67ffbb94
|
1.simplify reading and writing file code
2.add apiauth test
|
2017-02-10 09:35:23 +08:00 |
|
astaxie
|
161c061376
|
fix cache/memcache test
|
2016-08-30 23:24:30 +08:00 |
|
astaxie
|
7df74c0a30
|
fix #1521
|
2016-08-30 21:24:56 +08:00 |
|
JessonChan
|
e59271662c
|
fix bee fix
|
2016-03-25 13:25:29 +08:00 |
|
JessonChan
|
fa4a231cd4
|
duration change to second
|
2016-03-25 11:46:19 +08:00 |
|
JessonChan
|
6d0fe8c4f4
|
go fmt cache file
|
2016-03-25 11:05:20 +08:00 |
|
JessonChan
|
2db8c753fd
|
bee fix
|
2016-03-25 10:56:15 +08:00 |
|
liuchun
|
bd04be4470
|
move time to the top
|
2016-03-08 14:44:37 +08:00 |
|
liuchun
|
0a0fc351e7
|
fix ssdb_test
|
2016-03-08 12:59:19 +08:00 |
|
liuchun
|
9ddc2f5474
|
fix panic err
|
2016-03-07 15:00:03 +08:00 |
|
liuchun
|
0caadb9b66
|
rename vars
|
2016-03-07 14:45:45 +08:00 |
|
liuchun
|
be23c42674
|
Merge branches 'master' and 'develop' of lcbluestorm.github.com:lcbluestorm/beego into develop
|
2016-03-07 10:19:55 +08:00 |
|
liuchun
|
48ec7f736e
|
fix GetMulti bug
|
2016-03-06 14:46:13 +08:00 |
|
liuchun
|
292d8f2c00
|
add ssdb cache adapter
|
2016-03-06 13:17:16 +08:00 |
|
astaxie
|
61e9dc74c9
|
make sure the memcache testing success
|
2016-01-26 00:27:02 +08:00 |
|
astaxie
|
089242eda0
|
memcache test mulit return map has no sequence
|
2016-01-18 00:36:05 +08:00 |
|
astaxie
|
f925bb9058
|
golint all the files
|
2016-01-18 00:18:21 +08:00 |
|
astaxie
|
9adf20d72e
|
gofmt -s
|
2016-01-17 23:57:07 +08:00 |
|
astaxie
|
b90a28bafb
|
Merge pull request #1546 from youngsterxyf/develop
fix #1530
|
2016-01-12 20:01:51 +08:00 |
|
astaxie
|
dc278da17c
|
fix the sqlite3 & cache sleep 11 second
|
2016-01-08 23:30:19 +08:00 |
|
youngsterxyf
|
0b0904db13
|
for issue #1530, accept @JessonChan's suggestion
|
2016-01-08 20:16:58 +08:00 |
|