Skip to content

自动检测集群节点AutoDetect默认值修改为false。公有云Redis一般放在代理背后,主从架构,如果开启自动检测,将会自动识别主从… #111

自动检测集群节点AutoDetect默认值修改为false。公有云Redis一般放在代理背后,主从架构,如果开启自动检测,将会自动识别主从…

自动检测集群节点AutoDetect默认值修改为false。公有云Redis一般放在代理背后,主从架构,如果开启自动检测,将会自动识别主从… #111

Triggered via push March 17, 2024 23:16
Status Failure
Total duration 2m 59s
Artifacts

test.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

1 error and 11 warnings
build-publish
Process completed with exit code 1.
build-publish
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-dotnet@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
build-publish: NewLife.Redis/RedisHash.cs#L38
Nullability of reference types in return type of 'TValue? RedisHash<TKey, TValue>.this[TKey key].get' doesn't match implicitly implemented member 'TValue IDictionary<TKey, TValue>.this[TKey key].get' (possibly because of nullability attributes).
build-publish: NewLife.Redis/RedisStack.cs#L104
Nullability of reference types in return type doesn't match implemented member 'Task<T?> IProducerConsumer<T>.TakeOneAsync(int timeout = 0)'.
build-publish: NewLife.Redis/RedisStack.cs#L93
Nullability of reference types in return type of 'Task<T> RedisStack<T>.TakeOneAsync(int timeout = 0, CancellationToken cancellationToken = default(CancellationToken))' doesn't match implicitly implemented member 'Task<T?> IProducerConsumer<T>.TakeOneAsync(int timeout, CancellationToken cancellationToken)'.
build-publish: NewLife.Redis/Redis.cs#L757
Nullability of reference types in return type doesn't match overridden member.
build-publish: NewLife.Redis/Services/RedisStatGroup.cs#L14
Non-nullable property 'Redis' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build-publish: NewLife.Redis/Services/RedisStat.cs#L46
Possible null reference assignment.
build-publish: NewLife.Redis/Services/RedisStat.cs#L47
Dereference of a possibly null reference.
build-publish: NewLife.Redis/Services/RedisStat.cs#L38
Non-nullable property 'OnSave' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build-publish: NewLife.Redis/Services/RedisStat.cs#L96
Dereference of a possibly null reference.
build-publish: NewLife.Redis/RedisStack.cs#L35
Possible null reference argument for parameter 'item' in 'void List<object>.Add(object item)'.