Commit Graph

57 Commits

Author SHA1 Message Date
douxu b27b999873 add redis read and write lock conflict test of rwlocker 2025-04-02 16:47:51 +08:00
douxu ae064236c7 add redis lock refresh test of rwlocker 2025-04-01 16:20:55 +08:00
douxu 182f8ac634 add redis lock test of rwlocker 2025-03-28 16:48:56 +08:00
douxu 1cf6137f9f refactor(redis hash): fix bug of redis hash
1.optimize RedisOption struct
fix(uuid): replace uuid mod dependencies
    1.replace uuid mod dependencies
fix(config): add new redis config
    1.add new redis config
2025-03-25 17:00:09 +08:00
douxu 2f1b9d26b8 feat(redis hash): fix bug of redis hash
1.add redis hash init func
2.replace redis model version in go mod
3.add context parameter in redis exec statement

feat(redis set): add new test of RLock and WLock

1.add redis set init func
2.replace redis model version in go mod
3.add context parameter in redis exec statement

fix(logger): add new test of RLock and WLock

1.add compress parameter
2.optimize initLogger function
2025-03-24 16:37:43 +08:00
douxu 25a55b94e8 fix bug of structure pointer func 2025-03-21 16:38:47 +08:00
douxu 3d79993de2 init redis hash and redis set struct with rwlocker 2025-03-21 16:21:33 +08:00
douxu 13809b6a31 add new test of RWLock 2025-03-17 17:19:46 +08:00
douxu 7b282c49f7 fix(lock script): fix bug of lock srcipt
1.fix bug of reset time wrong with ReentrantRLock in RLock script
2.fix bug of write lock failing to lock for the first time
3.fix bug of unlock failed with ReentrantWLock in UnWLock script

test(lock script): add new test of RLock and WLock

1.add refresh test of RLock
2.add new test of ReentrantWLock#
2025-03-13 16:51:50 +08:00
douxu d962462c42 add rlock lock&unlock test and rlock reentrant test 2025-03-12 16:24:28 +08:00
douxu 9381e547b6 add ignore item in the .gitignore file 2025-03-11 15:53:53 +08:00
douxu d404dc4335 fix bug of lock script and refresh script in redission rw lock 2025-03-11 15:35:15 +08:00
douxu 7e3d94db4b optimize structer of redisLock and acquisition statements of lock 2025-03-07 16:16:26 +08:00
douxu 09225fc96f optimize structer of redisRWLock and acquisition statements of write lock 2025-03-06 16:35:36 +08:00
douxu c08f4b91f5 optimize read lock acquisition statements of redisRWLock 2025-03-05 16:42:59 +08:00
douxu b894d61b54 init UnRLockScript 、WLockScript、UnWLockScript、RefreshLockScript script 2025-03-04 16:33:35 +08:00
douxu 2c2c2811a7 init read lock script of distributedlock 2025-02-28 16:00:16 +08:00
douxu 1899546ba4 init code of share memory 2025-02-21 15:27:25 +08:00
douxu 6a1c42e22b modify drone pipeline code 2025-02-10 15:21:34 +08:00
douxu 08dc441385 add drone ci pipeline 2025-02-05 16:46:01 +08:00
douxu 58e54afed2 write new code of an alert event management handler 2025-01-23 14:56:01 +08:00
douxu 65f71348d6 design an alert event management structure 2025-01-22 16:38:46 +08:00
douxu 2b967450eb rewrite the real-time data acquisition and processing workflow 2025-01-21 16:35:44 +08:00
douxu 43dece39c1 add handler of dataRT real time data push 2025-01-20 16:20:21 +08:00
douxu 0520e9cece fix bug of test data with update handler 2025-01-13 15:54:40 +08:00
douxu 59574b4b90 fix bug of test data with update handler 2025-01-10 16:58:11 +08:00
douxu d89bf83f8b fix bug of create、delete、update handler 2025-01-10 16:57:29 +08:00
douxu c1691d4da2 fix bug of load data from postgres 2025-01-09 15:56:40 +08:00
douxu 655acf8e1e fix bug of circuit diagram load handler 2025-01-08 16:37:18 +08:00
douxu f48b527708 fix bug of circuit diagram load handler 2025-01-07 16:45:52 +08:00
douxu ac5d508171 add demo test sql and fix bug of modelRT running 2025-01-06 17:00:58 +08:00
douxu 2b4ad06b71 write comment of http handler 2024-12-31 16:18:51 +08:00
douxu 9385ba695c write code for adapter new component struct 2024-12-30 16:39:11 +08:00
douxu 5a9fa5cc4d write code for polling real time data from dataRT service 2024-12-26 15:03:20 +08:00
douxu 39e380ee1e optimize demo code 2024-12-25 16:34:57 +08:00
douxu c3f7ddf210 optimize demo code 2024-12-23 14:47:22 +08:00
douxu f8b9a70250 add replace anchor point api and optimize code of anchor param data polling function points 2024-12-20 16:06:42 +08:00
douxu efc15c3b2d wirte demo code 2024-12-18 16:25:49 +08:00
douxu a611c08c20 init modelRT show demo 2024-12-16 15:37:44 +08:00
douxu 375655017e fix bug of load component info 2024-12-12 16:17:31 +08:00
douxu d9cc5f3738 init async motor table and busbar section table create sql 2024-12-10 16:36:59 +08:00
douxu 829279b22b init async motor model and optimize model select func 2024-12-09 16:05:48 +08:00
douxu 93529c716e add swagger docs and swagger docs web 2024-12-06 16:13:11 +08:00
douxu cd2451c985 add free vertex process in create update delete api 2024-12-05 16:32:23 +08:00
douxu 410c08b132 optimize circuit diagram update handler and complete circuit diagram create handler code writing 2024-12-05 14:57:23 +08:00
douxu ebe86539d4 optimize circuit diagram update handler and preliminary completion of circuit diagram delete handler code writing 2024-12-04 15:57:11 +08:00
douxu 214b194817 optimize circuit diagram update handler 2024-12-03 16:38:17 +08:00
douxu 3899cda8ef preliminary completion of circuit diagram update handler code writing 2024-12-02 16:13:16 +08:00
douxu 2df821f69a optimize code of circuit diagram update API 2024-11-29 16:34:03 +08:00
douxu 16220a6dd7 initialize real-time data reading framework 2024-11-28 15:29:34 +08:00