func (b *backend) addUserToPaywallPool(user *database.User) {
	if !b.paywallIsEnabled() {
		return
	}

	b.Lock()
	defer b.Unlock()

	b.addUserToPaywallPoolWithLock(user)
}
// addUserToPaywallPool adds a user and its paywall info to the in-memory pool.
//
// This function must be called WITHOUT the mutex held.
addUserToPaywallPool adds a user and its paywall info to the in-memory pool.

This function must be called WITHOUT the mutex held.
// addUserToPaywallPool adds a user and its paywall info to the in - memory pool . // // This function must be called WITHOUT the mutex held .
func (b *backend) addUserToPaywallPool(user *database.User) {
	if !b.paywallIsEnabled() {
		return
	}
	b.Lock()
	defer b.Unlock()
	b.addUserToPaywallPoolWithLock(user)
}
func ( b * backend ) addUserToPaywallPool ( user * database . User ) { if ! b . paywallIsEnabled ( ) { return } b . Lock ( ) defer b . Unlock ( ) b . addUserToPaywallPoolWithLock ( user ) }
addUserToPaywallPool adds a user and its paywall info to the in-memory pool.
addUserToPaywallPool adds a user and its paywall info to the in - memory pool .