Skip to content

Commit

Permalink
Remove item > 1MB assertion - bug 119
Browse files Browse the repository at this point in the history
  • Loading branch information
dustin authored and dormando committed Apr 3, 2010
1 parent ff24fb8 commit 49ef81a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion items.c
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,6 @@ static void item_unlink_q(item *it) {
int do_item_link(item *it) {
MEMCACHED_ITEM_LINK(ITEM_key(it), it->nkey, it->nbytes);
assert((it->it_flags & (ITEM_LINKED|ITEM_SLABBED)) == 0);
assert(it->nbytes < (1024 * 1024)); /* 1MB max size */
it->it_flags |= ITEM_LINKED;
it->time = current_time;
assoc_insert(it);
Expand Down

0 comments on commit 49ef81a

Please sign in to comment.