Shivaram Lingamneni
fad2475c3f
modes refactor, #255
6 年之前
Shivaram Lingamneni
8fb5a38851
Updates to channel persistence
1. Implement persistent channel keys (#208 )
2. Persist changes to registered channel modes
3. Backend changes for persisting operator status (partial #198 )
6 年之前
Shivaram Lingamneni
1bf5e2a7c8
implement fakelag (#189)
6 年之前
Shivaram Lingamneni
a8b952da77
store maxSendQBytes in a uint32 to avoid alignment problems
The sync.atomic documentation says:
"On both ARM and x86-32, it is the caller's responsibility to arrange
for 64-bit alignment of 64-bit words accessed atomically."
6 年之前
Shivaram Lingamneni
d1f5c59eef
fix #190
6 年之前
Shivaram Lingamneni
be86684e96
implement #199
6 年之前
Shivaram Lingamneni
878f9ca94c
fix: store the uncasefolded account name correctly
6 年之前
Shivaram Lingamneni
ad73d68807
refactor account registration, add nick enforcement
6 年之前
Daniel Oaks
3634d0601e
Split modes into a subpackage (this is painful, but will force us to simplify and improve the API for interacting with modes)
6 年之前
Shivaram Lingamneni
d4cb15354f
remove registeredChannelsMutex
This moves channel registration to an eventual consistency model,
where the in-memory datastructures (Channel and ChannelManager)
are the exclusive source of truth, and updates to them get persisted
asynchronously to the DB.
6 年之前
Shivaram Lingamneni
9b74c47b74
rename some getters
Rename getters in conformance with the "Effective Go" styleguide recommendation:
https://golang.org/doc/effective_go.html#Getters
6 年之前
Shivaram Lingamneni
94cf438f51
remove channelJoinPartMutex
6 年之前
Shivaram Lingamneni
7b58bf76ef
make error recovery configurable
6 年之前
Shivaram Lingamneni
fa83ccd82b
refactor synchronization for Channel
6 年之前
Shivaram Lingamneni
7ccb485b50
add two getters
6 年之前
Shivaram Lingamneni
e540fde816
refactor idle timeouts
6 年之前
Daniel Oaks
4aa52956e5
Split isupport to its' own subpackage
6 年之前
Shivaram Lingamneni
26686d7e86
refactor monitor and /oper implementations
6 年之前
Shivaram Lingamneni
23a66fa502
fix various data races, including 2 introduced by #139
6 年之前