summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDustin Sallings <dustin@spy.net>2010-04-02 18:56:23 -0700
committerdormando <dormando@rydia.net>2010-04-02 20:32:42 -0700
commit49ef81a2e9b055e8b37caf3d0956012fbbe07ae8 (patch)
treeca04ed6e31ee9704bd5bdbaa8e58551c6697e7e1
parentff24fb8f891e93e8043b792e15df16e545621bfa (diff)
downloadmemcached-49ef81a2e9b055e8b37caf3d0956012fbbe07ae8.tar.gz
Remove item > 1MB assertion - bug 1191.4.5
-rw-r--r--items.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/items.c b/items.c
index 1e7ac57..e7f01ea 100644
--- a/items.c
+++ b/items.c
@@ -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);